Re: Config file for psql - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Config file for psql
Date
Msg-id 43F77788.1040603@dunslane.net
Whole thread Raw
In response to Re: Config file for psql  (Michael Fuhr <mike@fuhr.org>)
Responses Re: Config file for psql
List 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




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Adding an ignore list to pg_restore
Next
From: Tom Lane
Date:
Subject: Re: Config file for psql