pgsql: Allow HotStandbyActiveInReplay() to be called in single user mod - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Allow HotStandbyActiveInReplay() to be called in single user mod
Date
Msg-id E1Z1w2x-0004oE-4B@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Allow HotStandbyActiveInReplay() to be called in single user mode.

HotStandbyActiveInReplay, introduced in 061b079f, only allowed WAL
replay to happen in the startup process, missing the single user case.

This buglet is fairly harmless as it only causes problems when single
user mode in an assertion enabled build is used to replay a btree vacuum
record.

Backpatch to 9.2. 061b079f was backpatched further, but the assertion
was not.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/0db10d4e92b655dbb3cb3a08830783107e5f9e60

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


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Clarify documentation of jsonb - text
Next
From: Andres Freund
Date:
Subject: pgsql: Allow HotStandbyActiveInReplay() to be called in single user mod