pgsql: Do wal_level and hot standby checks when doing crash-then-archiv

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Do wal_level and hot standby checks when doing crash-then-archiv
Date: 2014-03-05 12:51:24
Message-ID: E1WLBIC-0007Jr-3c@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Do wal_level and hot standby checks when doing crash-then-archive recovery.

CheckRequiredParameterValues() should perform the checks if archive recovery
was requested, even if we are going to perform crash recovery first.

Reported by Kyotaro HORIGUCHI. Backpatch to 9.2, like the crash-then-archive
recovery mode.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/a5363a696a46d97b94ac63394f3952e9769ee113

Modified Files
--------------
src/backend/access/transam/xlog.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Stephen Frost 2014-03-05 13:30:36 Re: pgsql: Fix issues with pg_ctl
Previous Message Heikki Linnakangas 2014-03-05 12:19:31 pgsql: Fix lastReplayedEndRecPtr calculation when starting from shutdow