leafo / pgmoon

A pure Lua Postgres driver for use in OpenResty & more
MIT License
389 stars 93 forks source link

Support for Unix-domain Sockets #76

Open grayside opened 5 years ago

grayside commented 5 years ago

In reviewing the documentation and code I cannot see how Unix-domain sockets (https://www.postgresql.org/docs/9.5/libpq-connect.html#AEN43017) are supported.

19 implies it may be supported.

Is it currently supported? If not, would you consider adding support? How can I help?

adoakley commented 5 years ago

I added support for unix sockets from nginx in my fork, commit 3f6bbc06550066448c7b00d21ebb6a4780c97540. It would be better if it was supported for the other sockets libraries too, but it's unlikely that I'll every get around to implementing that.

Feel free to merge it if you think it's good enough.