aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/rmgrdesc/standbydesc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/access/rmgrdesc/standbydesc.c')
-rw-r--r--src/backend/access/rmgrdesc/standbydesc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/rmgrdesc/standbydesc.c b/src/backend/access/rmgrdesc/standbydesc.c
index e4806875583..d09041f8dfc 100644
--- a/src/backend/access/rmgrdesc/standbydesc.c
+++ b/src/backend/access/rmgrdesc/standbydesc.c
@@ -65,7 +65,7 @@ standby_identify(uint8 info)
{
const char *id = NULL;
- switch (info)
+ switch (info & ~XLR_INFO_MASK)
{
case XLOG_STANDBY_LOCK:
id = "LOCK";