postgresql/src/backend
Jeff Davis 00d7fb5e2e 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
2023-10-23 17:17:46 -07:00
..
access Assert that buffers are marked dirty before XLogRegisterBuffer(). 2023-10-23 17:17:46 -07:00
archive Redesign archive modules 2023-02-17 14:26:42 +09:00
backup Change struct tablespaceinfo's oid member from 'char *' to 'Oid' 2023-10-23 15:17:26 -04:00
bootstrap Refactor InitPostgres() to use bitwise option flags 2023-10-11 12:31:49 +09:00
catalog Allow ALTER SYSTEM to set unrecognized custom GUCs. 2023-10-21 13:35:19 -04:00
commands Make some error strings more generic 2023-10-20 22:52:15 +02:00
executor Add local_blk_{read|write}_time I/O timing statistics for local blocks 2023-10-19 13:39:38 +09:00
foreign Expand some more uses of "deleg" to "delegation" or "delegated". 2023-05-21 10:55:18 -04:00
jit jit: Changes for LLVM 17. 2023-10-19 05:13:23 +13:00
lib Make binaryheap available to frontend code. 2023-09-18 12:18:33 -07:00
libpq Refactor ListenSocket array. 2023-10-05 15:05:25 +03:00
main Remove obsolete defense against strxfrm() bugs. 2023-04-20 13:20:14 +12:00
nodes Remove IndexInfo.ii_OpclassOptions field 2023-10-03 17:51:02 +02:00
optimizer Fix missed optimization in relation_excluded_by_constraints(). 2023-10-11 12:51:38 -04:00
parser Extend ALTER OPERATOR to allow setting more optimization attributes. 2023-10-20 12:28:46 -04:00
partitioning Fix incorrect step generation in HASH partition pruning 2023-10-12 19:50:38 +13:00
po Translation updates 2023-08-07 12:39:30 +02:00
port Add GUC parameter "huge_pages_status" 2023-07-06 14:42:36 +09:00
postmaster Avoid calling proc_exit() in processes forked by system(). 2023-10-17 10:41:48 -05:00
regex All supported systems have locale_t. 2023-07-09 11:55:18 +12:00
replication Remove unnecessary break in pg_logical_replication_slot_advance() 2023-10-23 10:20:30 +09:00
rewrite Add TupleDescGetDefault() 2023-09-27 18:52:40 +01:00
snowball Fix the install rule for snowball_create.sql. 2023-05-23 11:15:57 -04:00
statistics Take pg_attribute out of VacAttrStats 2023-07-03 07:18:57 +02:00
storage Assert that buffers are marked dirty before XLogRegisterBuffer(). 2023-10-23 17:17:46 -07:00
tcop Add support event triggers on authenticated login 2023-10-16 03:18:22 +03:00
tsearch Limit to_tsvector_byid's initial array allocation to something sane. 2023-09-25 11:50:28 -04:00
utils Fix typos in wait_event.c 2023-10-24 08:05:29 +09:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk Blind attempt to fix LLVM dependency in the backend 2022-09-15 10:53:48 +07:00
Makefile Add system view pg_wait_events 2023-08-20 15:35:02 +09:00
meson.build Add win32ver data to meson-built postgres.exe. 2023-06-12 07:40:38 -07:00
nls.mk Add missing gettext triggers 2023-05-10 13:51:51 +02:00