]> 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:48:14 +0000 (14:48 +0200)
commit956685f82b6983ff17e6a39bd386b11f554715a8
treea639125c4a6c204ff3b9fe8a35cb877263c82c71
parentaf246c37c056e3b16be04e899e94e3a100f3918e
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