Re: Unix socket dir, an idea

2019-03-30 Thread Danylo Hlynskyi
Hi Tom, and much thanks for reply! > I would also like to point out the extreme Unix-centricity (and > even particular-distribution-centricity) of the alternative locations > you mention Yes! The /run/user and /var/run directories are absent on MacOS. That's why I **don't** propose to change

Re: Unix socket dir, an idea

2019-03-29 Thread Tom Lane
Danylo Hlynskyi writes: > The problem (as I see it) is that everybody would like to move `/tmp` > socket dir to `/var/run`, or even `/var/run/postgresql` (or even > `/run/postgresql`), but compatibility with old clients (which connect to > /tmp by default) is a concern. *Some* people would like

Unix socket dir, an idea

2019-03-29 Thread Danylo Hlynskyi
Before writing a patch, I'd like to hear discussion first. I've searched archives first and read following previous discussions on this topic: - https://www.postgresql.org/message-id/4FCF6040.5030408%40redhat.com - https://www.postgresql.org/message-id/14899.974513046%40sss.pgh.pa.us The problem