Re: How to print application_name in log_line_prefix (using %a)?

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема Re: How to print application_name in log_line_prefix (using %a)?
Дата
Msg-id CAMkU=1wzDw324kcKog14=ktGxoJaWzhKpqu3vxcLsHw9L4Ssnw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: How to print application_name in log_line_prefix (using %a)?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Mon, Oct 29, 2012 at 8:58 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Chris Angelico <rosuav@gmail.com> writes:
>> On Mon, Oct 29, 2012 at 5:44 PM, Tianyin Xu <tixu@cs.ucsd.edu> wrote:
>>> I still wonder why application_name appears in the configuration file if it
>>> cannot take effort :-P
>
>> Not sure what you mean by that, but my postgresql.conf doesn't have
>> anything about application_name. But if it did, it would be a default
>> that an application can override.
>
> The reason background processes don't print anything for %a is that it's
> presumed it couldn't possibly be set to anything meaningful.


Why wouldn't 'bgwriter', 'autovacuum', 'checkpointer', etc. be meaningful?

Cheers,

Jeff


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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: Access to postgresql query optimizer output
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Why BgWriterDelay is fixed?