mirror of
https://github.com/postgres/postgres.git
synced 2025-07-26 01:22:12 +03:00
Document XLOG_INCLUDE_XID a little better
I noticed that commit 0bead9af48
left this flag undocumented in
XLogSetRecordFlags, which led me to discover that the flag doesn't
actually do what the one comment on it said it does. Improve the
situation by adding some more comments.
Backpatch to 14, where the aforementioned commit appears.
Author: Álvaro Herrera <alvherre@alvh.no-ip.org>
Discussion: https://postgr.es/m/202109212119.c3nhfp64t2ql@alvherre.pgsql
This commit is contained in:
@ -212,7 +212,7 @@ extern bool XLOG_DEBUG;
|
||||
*/
|
||||
#define XLOG_INCLUDE_ORIGIN 0x01 /* include the replication origin */
|
||||
#define XLOG_MARK_UNIMPORTANT 0x02 /* record not important for durability */
|
||||
#define XLOG_INCLUDE_XID 0x04 /* include XID of top-level xact */
|
||||
#define XLOG_INCLUDE_XID 0x04 /* WAL-internal message-passing hack */
|
||||
|
||||
|
||||
/* Checkpoint statistics */
|
||||
|
Reference in New Issue
Block a user