It is defined in postgresql.conf

unix_socket_directory = '/var/run/postgresql'

On Tue, 07 Sep 2010 17:20:24 -0700
John R Pierce <pie...@hogranch.com> wrote:

>   On 09/07/10 5:15 PM, Scott Ribe wrote:
> > Assume I want to install an instance of postgres such that it
> > cannot interfere with another install, or even be visible to other
> > apps. Is this all I need to do:
> >
> > - install pg somewhere within my own directory
> > - init the db somewhere within my own directory
> > - disallow IP connections
> > - set the socket directory somewhere within my own directory
> >
> > Or is there a doc on this somewhere?
> 
> I'm pretty sure the socket directory is hard coded in the source, I 
> don't think you can override it even with ./configure
> 
> 
> 
> 
> 

Attachment: signature.asc
Description: PGP signature

Reply via email to