"Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at> 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 with the service parameter.
This seems poorly thought out. How could you have any other service
entries besides this one? What is the point of doing it like this
and not simply overriding the service's database selection?
The special case for LDAP makes it even more obvious that this is
a kluge.
regards, tom lane