> Bruce Momjian wrote:
> > No one has suggested a location non-root people can put the socket/lock
> > file, except /tmp, and IMHO, until we find one, the default stays in
> > /tmp.
>
> Since RPM's _must_ be installed by root, that doesn't affect them. The
> debian packages are the same way. As long as the RPM contains the
> structures set as owned by 'postgres' (the default run user for
> postmaster), and the appropriate permissions are set, the directory
> could be anywhere, such as /var/run/pgsql. But there are of course
> problems with that approach, because libpq makes some hard-coded
> assumptions about where to look.
The issue we have is that we don't assume root installs. Any root
requirement is going to be RPM-specific.
-- 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,
Pennsylvania19026