git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 43a134f) | patch
Replace XLOG_INCLUDE_XID flag with a more localized flag.
Tue, 2 Nov 2021 03:05:29 +0000 (08:35 +0530)
Tue, 2 Nov 2021 03:05:29 +0000 (08:35 +0530)
commit 71db6459e6e4ef623e98f3b1e3e9fed1bfb0ae3b
Replace XLOG_INCLUDE_XID flag with a more localized flag.

Commit 0bead9af484c introduced XLOG_INCLUDE_XID flag to indicate that the
WAL record contains subXID-to-topXID association. It uses that flag later
to mark in CurrentTransactionState that top-xid is logged so that we
should not try to log it again with the next WAL record in the current
subtransaction. However, we can use a localized variable to pass that
information.

In passing, change the related function and variable names to make them
consistent with what the code is actually doing.

Author: Dilip Kumar
Reviewed-by: Alvaro Herrera, Amit Kapila
Discussion: https://postgr.es/m/E1mSoYz-0007Fh-D9@gemulon.postgresql.org
src/backend/access/transam/xact.c diff | blob | blame | history
src/backend/access/transam/xlog.c diff | blob | blame | history
src/backend/access/transam/xloginsert.c diff | blob | blame | history
src/include/access/xact.h diff | blob | blame | history
src/include/access/xlog.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /