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