aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistsplit.c
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2021-09-20 14:26:24 -0700
committerPeter Geoghegan <pg@bowt.ie>2021-09-20 14:26:24 -0700
commit955a6a893498a5d3af544d9c0b1c292b19ec1690 (patch)
treea462f7b58a475661b4e9e4f3a137bfd862f045cb /src/backend/access/gist/gistsplit.c
parent3e8525aab86e78593844c9b395be40938582ebaf (diff)
downloadpostgresql-955a6a893498a5d3af544d9c0b1c292b19ec1690.tar.gz
postgresql-955a6a893498a5d3af544d9c0b1c292b19ec1690.zip
Remove overzealous index deletion assertion.
A broken HOT chain is not an unexpected condition, even when the offset number points past the end of the page's line pointer array. heap_prune_chain() does not (and never has) treated this condition as unexpected, so derivative code in heap_index_delete_tuples() shouldn't do so either. Oversight in commit 4228817449. The assertion can probably only fail on Postgres 14 and master. Earlier releases don't have commit 3c3b8a4b, which taught VACUUM to truncate the line pointer array of heap pages. Backpatch all the same, just to be consistent. Author: Peter Geoghegan <pg@bowt.ie> Reported-By: Alexander Lakhin <exclusion@gmail.com> Discussion: https://postgr.es/m/17197-9438f31f46705182@postgresql.org Backpatch: 12-, just like commit 4228817449.
Diffstat (limited to 'src/backend/access/gist/gistsplit.c')
0 files changed, 0 insertions, 0 deletions