]> 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:45:55 +0000 (14:45 +0200)
commite7ec05562ed754fb60f75ea83efe103266a92015
tree5df5c0170a18690fcaf6c041047e02738d74f64f
parent931dc26b0d2ba9b2d174119b7ff277b977d03619
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