Skip to content

heap: partial-HOT index update improvements (phot)#37

Draft
gburd wants to merge 4 commits into
masterfrom
heap-hot-updates
Draft

heap: partial-HOT index update improvements (phot)#37
gburd wants to merge 4 commits into
masterfrom
heap-hot-updates

Conversation

@gburd

@gburd gburd commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Draft PR opened to enable OCR AI review on the heap-hot-updates branch. Title/description are provisional — rename before publishing to pgsql-hackers.

gburd and others added 4 commits July 24, 2025 09:25
This patch extends the cases where HOT updates are possible in the heapam by
examining expression indexes and determining if indexed values where mutated
or not.  Previously, any expression index on a column would disqualify it
from the HOT update path. Also examines partial indexes to see if the
values are within the predicate or not.

This is a modified application of a patch proposed on the pgsql-hackers list:
https://www.postgresql.org/message-id/flat/4d9928ee-a9e6-15f9-9c82-5981f13ffca6%40postgrespro.ru
applied: https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=c203d6cf8
reverted: https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=05f84605dbeb9cf8279a157234b24bbb706c5256

Signed-off-by: Greg Burd <gregburd@amazon.com>
@github-actions github-actions Bot force-pushed the master branch 3 times, most recently from 15913cb to 06a2a69 Compare July 13, 2026 11:54
@gburd gburd force-pushed the master branch 2 times, most recently from 3b49b2a to 0b3e646 Compare July 13, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant