Re: question about 2 versions and libraries

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tina Messmann <tina(dot)messmann(at)xinux(dot)de>
Cc: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>, pgsql-general(at)postgresql(dot)org
Subject: Re: question about 2 versions and libraries
Date: 2002-05-27 16:17:56
Message-ID: 13730.1022516276@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tina Messmann <tina(dot)messmann(at)xinux(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Marc G. Fournier 2002-05-27 16:21:29 Re: [meta] news.postgresql.org still down - who do I
Previous Message John Gray 2002-05-27 16:16:49 Re: update db doesnt work