Re: question about 2 versions and libraries - Mailing list pgsql-general

From Tom Lane
Subject Re: question about 2 versions and libraries
Date
Msg-id 13730.1022516276@sss.pgh.pa.us
Whole thread Raw
In response to Re: question about 2 versions and libraries  (Tina Messmann <tina.messmann@xinux.de>)
List pgsql-general
Tina Messmann <tina.messmann@xinux.de> writes:
> i solved this problem now by setting PGHOST to /var/run/postgresql (is
> this the common solution?)

If you want to run with a nonstandard socket file location, you have
to tell both postmaster and psql at runtime (psql cannot see the
postgresql.conf file, so you have to tell it separately).  Possibly
a better answer is to make the socket file location standard by altering
DEFAULT_PGSOCKET_DIR in src/include/pg_config.h before you build.

            regards, tom lane

pgsql-general by date:

Previous
From: John Gray
Date:
Subject: Re: update db doesnt work
Next
From: "Marc G. Fournier"
Date:
Subject: Re: [meta] news.postgresql.org still down - who do I