Re: psql inability to select a socket

From: Doug McNaught <doug(at)mcnaught(dot)org>
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:25:50
Message-ID: m3he81jsyp.fsf@varsoon.wireboard.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

alex avriette <alex(at)posixnap(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeroen T. Vermeulen 2003-05-11 17:27:52 Re: psql inability to select a socket
Previous Message alex avriette 2003-05-11 17:16:45 psql inability to select a socket