Re: psql inability to select a socket - Mailing list pgsql-hackers

From Jeroen T. Vermeulen
Subject Re: psql inability to select a socket
Date
Msg-id 20030511172752.GJ99672@xs4all.nl
Whole thread Raw
In response to psql inability to select a socket  (alex avriette <alex@posixnap.net>)
Responses Re: psql inability to select a socket
List pgsql-hackers
On Sun, May 11, 2003 at 01:16:45PM -0400, alex avriette wrote:
> As some of you know, OpenBSD 3.3 chroots apache. So I'm running the 
> postmaster with its socket in /var/www/tmp. However, psql doesn't allow 
> me to specify a socket to point at:
> 
> Connection options:
>   -h HOSTNAME     specify database server host (default: local socket)

AFAIK there's a special case for "hostnames" with slashes; those get
interpreted as a path to a local socket.  Try setting PGHOST to 
/var/www/tmp before you start psql, for instance.


Jeroen



pgsql-hackers by date:

Previous
From: Doug McNaught
Date:
Subject: Re: psql inability to select a socket
Next
From: Bruno Wolff III
Date:
Subject: Re: problem building tablefunc in 7.4