Re: allowing wal_level change at run time - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: allowing wal_level change at run time
Date
Msg-id 55D93B9F.9060707@gmx.net
Whole thread Raw
In response to Re: allowing wal_level change at run time  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On 8/20/15 3:50 PM, Andres Freund wrote:
>> But, under any scheme to set wal_level automatically, how will the
>> primary know whether it needs to use level archive or hot_standby?
> 
> I'd have said archive_mode triggered archive and everything else
> hot_standby.

That might be a decent heuristic, but it's not correct if there is no
way to override it.  People are using archive-only replication with hot
standby (for delayed replication, for example).




pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: PATCH: numeric timestamp in log_line_prefix
Next
From: Amit Kapila
Date:
Subject: Re: checkpointer continuous flushing