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). -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers