pgcat icon indicating copy to clipboard operation
pgcat copied to clipboard

Add support for UNIX sockets

Open pinaraf opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe. PgCat, unlike Pgbouncer, doesn't support UNIX sockets, neither to connect to servers nor to expose itself to applications. UNIX sockets allow for a slightly better latency, and allow the use of file-level authentication.

Describe the solution you'd like PgCat should be able to connect to PostgreSQL instances using UNIX sockets. PgCat should be reachable through UNIX sockets.

Describe alternatives you've considered None

Additional context None

pinaraf avatar Mar 15 '23 05:03 pinaraf

This is certainly good to have, but we won't be using this in production because PgCat, clients, and Postgres will always be on separate servers. Still, good feature to have for smaller deployments on the same machine.

levkk avatar Mar 15 '23 17:03 levkk

I have a rough idea of how to add this feature, I may look into it in the near future.

shikanime avatar Dec 07 '23 10:12 shikanime