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