Re: replication commands and log_statements - Mailing list pgsql-hackers

From Andres Freund
Subject Re: replication commands and log_statements
Date
Msg-id 20140611123509.GT8406@alap3.anarazel.de
Whole thread Raw
In response to Re: replication commands and log_statements  (Magnus Hagander <magnus@hagander.net>)
Responses Re: replication commands and log_statements  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
On 2014-06-11 14:22:43 +0200, Magnus Hagander wrote:
> Yes, but how would you specify for example "i want DDL and all replication
> commands" (which is quite a reasonable thing to log, I believe). If you
> actually require it to be set to "all", most people won't have any use at
> all for it...

That's a reasonable feature request - but imo it's a separate
one. It seems pretty noncontroversial and simple to make
log_statement=all log replication commands. What you want - and you're
sure not alone with that - is something considerably more complex...

Greetings,

Andres Freund

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



pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: replication commands and log_statements
Next
From: Andres Freund
Date:
Subject: Re: tests for client programs