> Lamar Owen wrote:
> >Tom Lane wrote:
> >> Hmm. Where are you invoking psql from, and is it the same one you
> >> compiled yourself?
> >
> >> ISTR that the Debian RPMs use a nonstandard location of the pgsql Unix
> >> socket file, which means that an RPM psql will NOT talk to a standard
> >> compilation of the postmaster, nor vice versa.
> >
> >Um, the Debian packages are .deb's, not RPM's. Is the standard socket
> >location not /tmp? That's where the RPM's put it. I don't know about
> >the DEB's -- ask Oliver.
>
> No. /var/run/postgresql - it was necessary to move them, because long-open
> sockets were being deleted from /tmp (it is, after all, a _temporary_
> directory) by tmpreaper.
/var/run seems like a good spot for it. How do you make sure clients
see it? Do you have a symlink in /tmp?
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026