Closed markmnl closed 2 months ago
Funnily enough export
ing my PG vars again seem to solve the issue and LibPQ.Connection()
does in indeed use them. Still unsure what happened before even though I could see the vars with set
command but I guess its not a problem with LibPQ!
Attempting to use the PG environment variables https://www.postgresql.org/docs/current/libpq-envars.html, e.g.:
I expected to
LibPQ.Connection("")
to use these vars that weren't supplied in connection string. However it seems they are not.Am I missing something or does
LibPQ.Connection()
not use environment?