Re: Non-default postgresql.conf values to log

Поиск
Список
Период
Сортировка
От Alex Ignatov
Тема Re: Non-default postgresql.conf values to log
Дата
Msg-id 570693A8.4040707@postgrespro.ru
обсуждение исходный текст
Ответ на Re: Non-default postgresql.conf values to log  (Rob Sargent <robjsargent@gmail.com>)
Ответы Re: Non-default postgresql.conf values to log  ("David G. Johnston" <david.g.johnston@gmail.com>)
Re: Non-default postgresql.conf values to log  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general

On 07.04.2016 17:59, Rob Sargent wrote:
>
>> On Apr 7, 2016, at 8:26 AM, Alex Ignatov <a.ignatov@postgrespro.ru> wrote:
>>
>>
>>
>>> On 07.04.2016 16:53, Tom Lane wrote:
>>> Alex Ignatov <a.ignatov@postgrespro.ru> writes:
>>>> My question is: is there any option(s) to log non-default
>>>> postgresql.conf values to log file?
>>> No, but you can easily find all the non-default settings by querying
>>> the pg_settings view.
>>>
>>>             regards, tom lane
>> Yeah, i know it but pg_settings is available only after pg is ready to accept client connections.
>> Also in some cases log file is placed on another server say, syslog. And if your pg server is not available you cant
sayanything about your pg_settings. 
> At that point you're looking in a file: log file or config file. Does it matter which?
>> --
>> Alex Ignatov
>> Postgres Professional: http://www.postgrespro.com
>> The Russian Postgres Company
>>
>>
>>
>> --
>> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-general
>
It matter when your pg host is down and all you have is log file. It is
very usual situation. You need historical info.

--
Alex Ignatov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: 9.5 new features
Следующее
От: John R Pierce
Дата:
Сообщение: Re: what database schema version management system to use?