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

Unix Domain Socket support #102

Closed
mrechte opened this issue Sep 13, 2020 · 2 comments
Closed

Unix Domain Socket support #102

mrechte opened this issue Sep 13, 2020 · 2 comments
Assignees
Labels
enhancement Improvement to an existing feature

Comments

@mrechte
Copy link

mrechte commented Sep 13, 2020

Can a sql client connect to pgagroal using a UNIX socket rather than a tcp socket ?
Thanks

@jesperpedersen jesperpedersen self-assigned this Sep 14, 2020
@jesperpedersen
Copy link
Collaborator

Not yet - what is your use case ?

The Unix Domain Sockets infrastructure in #40 would make it possible though.

@jesperpedersen jesperpedersen added enhancement Improvement to an existing feature and removed question labels Sep 16, 2020
@jesperpedersen
Copy link
Collaborator

I have added support for this, so now you can do

psql -h /tmp -p 2345 -U myuser mydb

Thanks for the suggestion !

@jesperpedersen jesperpedersen changed the title Can pgagroal listen on a UNIX socket ? Unix Domain Socket support Sep 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants