https://github.com/postgres/postgres
Revision be2f0731006300876b008fd78a265471984cbcd9 authored by Alvaro Herrera on 03 April 2024, 15:49:44 UTC, committed by Alvaro Herrera on 03 April 2024, 15:49:44 UTC
Bug in commit 53c2a97a9266: we failed to acquire the correct SLRU bank
lock when iterating to zero-out intermediate pages in predicate.c.
Rewrite the code block so that we follow the locking protocol correctly.

Also update an outdated comment in the same file -- SerialSLRULock
exists no more.

Reported-by: Alexander Lakhin <exclusion@gmail.com>
Reviewed-by: Dilip Kumar <dilipbalaut@gmail.com>
Discussion: https://postgr.es/m/2a25eaf4-a3a4-5fd1-6241-9d7c73142085@gmail.com
1 parent bf1e650
History
Tip revision: be2f0731006300876b008fd78a265471984cbcd9 authored by Alvaro Herrera on 03 April 2024, 15:49:44 UTC
Fix zeroing of pg_serial page without SLRU bank lock
Tip revision: be2f073
File Mode Size
config
contrib
doc
src
.cirrus.star -rw-r--r-- 1.6 KB
.cirrus.tasks.yml -rw-r--r-- 24.5 KB
.cirrus.yml -rw-r--r-- 1.9 KB
.dir-locals.el -rw-r--r-- 730 bytes
.editorconfig -rw-r--r-- 183 bytes
.git-blame-ignore-revs -rw-r--r-- 12.3 KB
.gitattributes -rw-r--r-- 1.4 KB
.gitignore -rw-r--r-- 674 bytes
COPYRIGHT -rw-r--r-- 1.2 KB
GNUmakefile.in -rw-r--r-- 4.0 KB
HISTORY -rw-r--r-- 277 bytes
Makefile -rw-r--r-- 1.8 KB
README.md -rw-r--r-- 989 bytes
aclocal.m4 -rw-r--r-- 365 bytes
configure -rwxr-xr-x 558.1 KB
configure.ac -rw-r--r-- 84.4 KB
meson.build -rw-r--r-- 104.3 KB
meson_options.txt -rw-r--r-- 6.2 KB

README.md

back to top