You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the PostgreSQL documentation clearly mentions this should be allowed:
The host part is interpreted as described for the parameter host. In particular, a Unix-domain socket connection is chosen if the host part is either empty or looks like an absolute path name, otherwise a TCP/IP connection is initiated. Note, however, that the slash is a reserved character in the hierarchical part of the URI. So, to specify a non-standard Unix-domain socket directory, either omit the host part of the URI and specify the host as a named parameter, or percent-encode the path in the host part of the URI:
Ps. postgresql://synapse:secret@syncv3?host=/var/lib/postgresql is NOT working either. Since your code is not using the postgresql string URI string correctly. I still tries to use localhost with port:
panic: dial tcp: lookup syncv3 on 127.0.0.11:53: no such host
Given this seems to be handled by https://github.com/lib/pq which describes itself as in maintenance mode and recommends the use of another package (https://github.com/jackc/pgx), I would not expect a speedy resolution.
Unable to use PostgreSQL Connection URIs, errors on:
While the PostgreSQL documentation clearly mentions this should be allowed:
The text was updated successfully, but these errors were encountered: