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

From Doug McNaught
Subject Re: psql inability to select a socket
Date
Msg-id m3he81jsyp.fsf@varsoon.wireboard.com
Whole thread Raw
In response to psql inability to select a socket  (alex avriette <alex@posixnap.net>)
List pgsql-hackers
alex avriette <alex@posixnap.net> writes:

> 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)
>    -p PORT         specify database server port (default: 5432)
>    -U NAME         specify database user name (default: alex)
>    -W              prompt for password (should happen automatically)
> 
> Could this be included in the next version?

See the 'unix_socket_directory' setting in postgresql.conf.

-Doug



pgsql-hackers by date:

Previous
From: alex avriette
Date:
Subject: psql inability to select a socket
Next
From: "Jeroen T. Vermeulen"
Date:
Subject: Re: psql inability to select a socket