Re: [HACKERS] Proposal: wildcards in pg_service.conf

2008-02-28 Thread Dawid Kuroczko
On Thu, Feb 28, 2008 at 11:27 AM, Albe Laurenz <[EMAIL PROTECTED]> wrote: > The LDAP case is the main motivation why I would like to have > wildcards, so that all our databases could be handled with one > entry in the service file. Currently we have to add an entry to the > file for every new d

Re: [HACKERS] Proposal: wildcards in pg_service.conf

2008-02-28 Thread Albe Laurenz
Tom Lane wrote: >> I'd like to extend the libpq service file by allowing >> wildcards, e.g. like this: > >> [%] >> host=dbhost.mycompany.com >> dbname=% > >> Such an entry would match all service parameters, >> and all ocurrences of the wildcard right of a = would >> be replaced with the service

Re: [HACKERS] Proposal: wildcards in pg_service.conf

2008-02-27 Thread Tom Lane
"Albe Laurenz" <[EMAIL PROTECTED]> writes: > I'd like to extend the libpq service file by allowing > wildcards, e.g. like this: > [%] > host=dbhost.mycompany.com > dbname=% > Such an entry would match all service parameters, > and all ocurrences of the wildcard right of a = would > be replaced wi

[HACKERS] Proposal: wildcards in pg_service.conf

2008-02-27 Thread Albe Laurenz
I'd like to extend the libpq service file by allowing wildcards, e.g. like this: [%] host=dbhost.mycompany.com dbname=% Such an entry would match all service parameters, and all ocurrences of the wildcard right of a = would be replaced with the service parameter. That implies that a [%] entry is