Re: Config file for psql

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: Martijn van Oosterhout <kleptog(at)svana(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Config file for psql
Date: 2006-02-18 19:37:44
Message-ID: 43F77788.1040603@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers

Michael Fuhr wrote:

>On Sat, Feb 18, 2006 at 07:52:22PM +0100, Martijn van Oosterhout wrote:
>
>
>>A little while ago there was someone asking for tools to make it easier
>>to connect to multiple servers. It occured to me that it might be
>>useful to have a config file the way ssh does it:
>>
>>
>
>Something like pg_service.conf? Hardly anybody ever mentions it
>even though the libpq documentation refers to it; I wonder how many
>people even know it exists.
>
>http://www.postgresql.org/docs/8.1/interactive/libpq.html#LIBPQ-CONNECT
>http://www.postgresql.org/docs/8.1/interactive/libpq-envars.html
>
>
>

This needs a LOT more prominence. We probably need to refer to these
things on the manual pages for each of the libpq clients we have.
Haven't we learned that lesson from .pgpass ? The number of people who
read the libpq docs is probably vanishingly small.

cheers

andrew

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2006-02-18 19:49:08 Re: Config file for psql
Previous Message Michael Fuhr 2006-02-18 19:19:39 Re: Config file for psql

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-02-18 19:49:08 Re: Config file for psql
Previous Message Tom Lane 2006-02-18 19:34:39 Re: Adding an ignore list to pg_restore