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-0007Jo-1Z@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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/956685f82b6983ff17e6a39bd386b11f554715a8

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