aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/xml.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2016-11-08 10:47:52 -0500
committerRobert Haas <rhaas@postgresql.org>2016-11-08 10:52:51 -0500
commitf0e72a25b05d4c29d0102fa0b892782ff193a00e (patch)
tree196f60f07cd095f5a0f2dc4fea5c797d2ab357f8 /src/backend/utils/adt/xml.c
parent650b96707672599e290c982dd63e3a896dbbaba6 (diff)
downloadpostgresql-f0e72a25b05d4c29d0102fa0b892782ff193a00e.tar.gz
postgresql-f0e72a25b05d4c29d0102fa0b892782ff193a00e.zip
Improve handling of dead tuples in hash indexes.
When squeezing a bucket during vacuum, it's not necessary to retain any tuples already marked as dead, so ignore them when deciding which tuples must be moved in order to empty a bucket page. Similarly, when splitting a bucket, relocating dead tuples to the new bucket is a waste of effort; instead, just ignore them. Amit Kapila, reviewed by me. Testing help provided by Ashutosh Sharma.
Diffstat (limited to 'src/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions