Re: Proposal: wildcards in pg_service.conf

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Proposal: wildcards in pg_service.conf
Дата
Msg-id 28594.1204126631@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Proposal: wildcards in pg_service.conf  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
Ответы Re: Proposal: wildcards in pg_service.conf  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
Список pgsql-hackers
"Albe Laurenz" <laurenz.albe@wien.gv.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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: An idea for parallelizing COPY within one backend
Следующее
От: "Heikki Linnakangas"
Дата:
Сообщение: Re: An idea for parallelizing COPY within one backend