]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Document XLOG_INCLUDE_XID a little better
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 21 Sep 2021 22:47:53 +0000 (19:47 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 21 Sep 2021 22:47:53 +0000 (19:47 -0300)
commitc1d1ae1db23796e4d1b04f5c087944722cf1446a
treed7a02ee59248998f2b1e39c64a2e69a5578c0c6a
parent8aed7f7a2ec46ad60c84c3c97300210850c3fbc8
Document XLOG_INCLUDE_XID a little better

I noticed that commit 0bead9af484c 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
src/backend/access/transam/xloginsert.c
src/include/access/xlog.h
src/include/access/xlogrecord.h