Open svetlyak40wt opened 4 years ago
If I had to guess, I would blame https://github.com/marijnh/Postmodern/blob/master/cl-postgres/public.lisp#L114 and try to understand what kind of connection you have here if it's neither ipv4 (2) nor ipv6 (10). What does it mean if (sb-bsd-sockets:host-ent-address-type host-ent)
is 30?
Are you in a position to hack and find out?
Right now don't have time, sorry.
Same here @dimitri pgloader --version pgloader version "3.6.7~devel" compiled with SBCL 2.1.1.debian
2022-11-17T15:09:38.084001Z LOG Migrating from #<PGSQL-CONNECTION pgsql://pgmigrator@foo:5432/bar {100640D873}> ... 2022-11-17T15:09:38.108001Z ERROR pgsql: Failed to connect to pgsql at "foo" (port 5432) as user "pgmigrator": 10 fell through ECASE expression. Wanted one of (0 2 3 4 5 6 7 8).
This is ipv4 and trust is not an option.
[ ] pgloader --version
[ ] did you test a fresh compile from the source tree?
Yes, built from 26cc9ca79f700a0e22d5ee28700faa20f29e6ddc commit.
[ ] did you search for other similar issues?
Yes.
[ ] how can I reproduce the bug?
I don't know, my databases are internal to the company. I'm just trying to copy Formula 1 dataset from MySQL to Postgresql.
Here is the stacktrace obtained from running pgloader:main in the REPL: