aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/complex.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-11-04 13:26:49 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-11-04 13:26:49 -0400
commitd5f6f13f8e7eb1c28395807922246294da4f57bb (patch)
treeaf236a6ff61cef87298fed3a9681ae000069d6c4 /src/tutorial/complex.c
parent367b99bbb13a14bd96bba6f73c231b2056ba9592 (diff)
downloadpostgresql-d5f6f13f8e7eb1c28395807922246294da4f57bb.tar.gz
postgresql-d5f6f13f8e7eb1c28395807922246294da4f57bb.zip
Be more consistent about masking xl_info with ~XLR_INFO_MASK.
Generally, WAL resource managers are only supposed to examine the top 4 bits of a WAL record's xl_info; the rest are reserved for the WAL mechanism itself. A few places were not consistent about doing this with respect to XLOG_CHECKPOINT and XLOG_SWITCH records. There's no bug currently, since no additional bits ever get set in these specific record types, but that might not be true forever. Let's follow the generic coding rule here too. Michael Paquier
Diffstat (limited to 'src/tutorial/complex.c')
0 files changed, 0 insertions, 0 deletions