Skip to content
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

Fix Unix domain socket setting. #281

Merged
merged 1 commit into from
Feb 23, 2013
Merged

Conversation

adunstan
Copy link
Contributor

This code was misconceived in that the host parameter for a Unix
domain socket connection must point to the directory containing
the socket, and not to the socket itself. Libpq will look for
the socket based on the host and port settings. See
http://www.postgresql.org/docs/current/static/libpq-connect.html#LIBPQ-PARAMKEYWORDS

This code was misconceived in that the host parameter for a Unix
domain socket connection must point to the directory containing
the socket, and not to the socket itself. Libpq will look for
the socket based on the host and port settings. See
<http://www.postgresql.org/docs/current/static/libpq-connect.html#LIBPQ-PARAMKEYWORDS>
@brianc
Copy link
Owner

brianc commented Feb 23, 2013

you're right - my code wasn't properly researched. thanks for the pull req! 👍

will merge later today

@brianc
Copy link
Owner

brianc commented Feb 23, 2013

also this fixes #277

brianc added a commit that referenced this pull request Feb 23, 2013
Fix Unix domain socket setting. closes #277
@brianc brianc merged commit 8ce808d into brianc:master Feb 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants