Re: replication commands and log_statements

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: replication commands and log_statements
Дата
Msg-id 20140611121720.GS8406@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: replication commands and log_statements  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: replication commands and log_statements
Список pgsql-hackers
On 2014-06-11 13:42:58 +0200, Magnus Hagander wrote:
> On Wed, Jun 11, 2014 at 12:34 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
> 
> > Hi,
> >
> > Replication commands like IDENTIFY_COMMAND are not logged even when
> > log_statements is set to all. Some users who use log_statements to
> > audit *all* statements might dislike this current situation. So I'm
> > thinking to change log_statements or add something like log_replication
> > so that we can log replication commands. Thought?
> >
> 
> +1. I think adding a separate parameter is the way to go.

Why? I can't really see a case where the log volume by replication
connections is going to be significant in comparison to 'all'?

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: replication commands and log_statements
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: replication commands and log_statements