Re: psql inability to select a socket

From: "Jeroen T(dot) Vermeulen" <jtv(at)xs4all(dot)nl>
To: alex avriette <alex(at)posixnap(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: psql inability to select a socket
Date: 2003-05-11 17:27:52
Message-ID: 20030511172752.GJ99672@xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruno Wolff III 2003-05-11 17:47:52 Re: problem building tablefunc in 7.4
Previous Message Doug McNaught 2003-05-11 17:25:50 Re: psql inability to select a socket