Re: libpq "service" parameter not documented as not allowed inside a pg_service file

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: libpq "service" parameter not documented as not allowed inside a pg_service file
Дата
Msg-id 20150401205248.GB13005@momjian.us
обсуждение исходный текст
Ответ на libpq "service" parameter not documented as not allowed inside a pg_service file  (David Johnston <david.g.johnston@gmail.com>)
Ответы Re: libpq "service" parameter not documented as not allowed inside a pg_service file  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-docs
On Fri, Dec 19, 2014 at 06:52:42PM -0700, David Johnston wrote:
> While the fact that you cannot do:
>
> [service_template]
> host=xxx.xxx.xxx.xxx
>
> [service_db1]
> dbname=db1
> service=service_template
>
> seems obvious there is nothing in the documentation that says this is
> prohibited; and attempting a simple alias entry:

I have developed the attached patch to warn users that nesting of
service entries is not supported.  I prefer code warnings over
documentation because the user gets the warning as soon as they try
something, rather than having to hunt in the documentation.  I don't
think this issue has come up enough to warrant a doc mention too though.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ROW or RANGE not optional in range specification
Следующее
От: Luzanov Pavel
Дата:
Сообщение: Moving documentation to XML