]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Remove unused check in heap_xlog_insert()
authorMelanie Plageman <melanieplageman@gmail.com>
Thu, 26 Jun 2025 19:03:32 +0000 (15:03 -0400)
committerMelanie Plageman <melanieplageman@gmail.com>
Thu, 26 Jun 2025 19:03:32 +0000 (15:03 -0400)
commit13a449fc5d4896452958fd4aa5b007aa24c0287f
treef685e88c7da0f45233731b7ec6cda861c9e40b78
parent5d4033a066151c41939b8dc92a3301e385aaffcc
Remove unused check in heap_xlog_insert()

8e03eb92e9a reverted the commit 39b66a91bd which allowed freezing
in the heap_insert() code path but forgot to remove the corresponding
check in heap_xlog_insert(). This code is extraneous but not harmful.
However, cleaning it up makes it very clear that, as of now, we do not
support any freezing of pages in the heap_insert() path.

Author: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-by: Tomas Vondra <tomas@vondra.me>
Discussion: https://postgr.es/m/flat/CAAKRu_Zp4Pi-t51OFWm1YZ-cctDfBhHCMZ%3DEx6PKxv0o8y2GvA%40mail.gmail.com
Backpatch-through: 14
src/backend/access/heap/heapam.c