]> granicus.if.org Git - postgresql/commit
Do wal_level and hot standby checks when doing crash-then-archive recovery.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 5 Mar 2014 12:41:55 +0000 (14:41 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 5 Mar 2014 12:46:56 +0000 (14:46 +0200)
commita5363a696a46d97b94ac63394f3952e9769ee113
treef6bfc34d198e33e097e0eae42d3791fa5a249dc1
parent2cd72ba42d22a1d19cfb9c01e59f82519ab22a9f
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.
src/backend/access/transam/xlog.c