aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorJeff Davis <jdavis@postgresql.org>2023-10-23 17:17:46 -0700
committerJeff Davis <jdavis@postgresql.org>2023-10-23 17:17:46 -0700
commit00d7fb5e2e39198387ae00af8dd18b787b6a4d63 (patch)
treef22d1985878091acbf82af156b0f4c5ca0ce4a73 /src/backend/executor/nodeModifyTable.c
parentbefe9451fbf5a4b49e80f17917d8c6d8b5edad26 (diff)
downloadpostgresql-00d7fb5e2e39198387ae00af8dd18b787b6a4d63.tar.gz
postgresql-00d7fb5e2e39198387ae00af8dd18b787b6a4d63.zip
Assert that buffers are marked dirty before XLogRegisterBuffer().
Enforce the rule from transam/README in XLogRegisterBuffer(), and update callers to follow the rule. Hash indexes sometimes register clean pages as a part of the locking protocol, so provide a REGBUF_NO_CHANGE flag to support that use. Discussion: https://postgr.es/m/c84114f8-c7f1-5b57-f85a-3adc31e1a904@iki.fi Reviewed-by: Heikki Linnakangas
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions