Re: Configuration include directory

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Configuration include directory
Дата
Msg-id 12705.1321545825@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Configuration include directory  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: Configuration include directory  (Greg Smith <greg@2ndQuadrant.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Excerpts from Tom Lane's message of mié nov 16 22:52:35 -0300 2011:
>> (Do we guard against recursive inclusion via plain old include?  If
>> not, maybe this isn't worth worrying about.)

> Yes, we do

> FATAL:  could not open configuration file "foo.conf": maximum nesting depth exceeded

Oh, right.  So as long as the include-directory code path doesn't
interfere with tracking that nesting depth, I don't think it needs
any extra protection against include-the-same-directory.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Removing postgres -f command line option
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Refactoring on DROP/ALTER SET SCHEMA/ALTER RENAME TO statement