I tried to add a new connectdb fixes and connect: PgSQL of module postgres.lsp.
The reason is that the parameters are omitted and for postgres PQconnectdb is possible, depending on the version parameter is increased.
PgSQLconnect is (C library "libpq"), has been changed in order to allow connections without a password, even if the host name and the setting.
You can be written as follows,
ex1.(PgSQL:connect "" "" "" "mydb");; host (socket file), user (login-name), passwd (empty)
ex2.(PgSQL:connectdb "host=srv port=25432 user=name dbname=mydb") ;; connect other port.
I would appreciate it if you can change it.
Thanks,