-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unix sockets support on windows #3100
Comments
The URLs used in the two examples are different; is it deliberate?
#1 has a double |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the library! Had an issue with what probably is an edge-case, using unix sockets on windows.
UNIX sockets are supported by postgresql on windows (I can start and connect to a database with psql without listenening on any IP), but i cannot connect with node-postgres.
If I try something like
or
I get
But if I try with an actual psql.exe it works:
psql.exe -d 'postgres://surface:surface@surface/postgres?host=C:\Users\surface\Downloads\db\socket'
Had a similar issue with postgres.js so opened a issue there too: porsager/postgres#737
The text was updated successfully, but these errors were encountered: