aboutsummaryrefslogtreecommitdiff
path: root/src/include/postgres.h
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2019-12-16 13:57:41 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2019-12-16 13:58:07 +0200
commit42d1acd2edc4a02de63c7b3d2a18056d393e373d (patch)
tree6e4c11781901c9316a47af749fb6ba71c668abd3 /src/include/postgres.h
parente3ac8939324d73c35e2fd0f846001eb02e3a7858 (diff)
downloadpostgresql-42d1acd2edc4a02de63c7b3d2a18056d393e373d.tar.gz
postgresql-42d1acd2edc4a02de63c7b3d2a18056d393e373d.zip
Fix yet another crash in page split during GiST index creation.
Commit a7ee7c8513 fixed a bug in GiST page split during index creation, where we failed to re-find the position of a downlink after the page containing it was split. However, that fix was incomplete; the other call to gistinserttuples() in the same function needs to also clear 'downlinkoffnum'. Fixes bug #16134 reported by Alexander Lakhin, for real this time. The previous fix was enough to fix the crash with the reproducer script for bug #16162, but the original script for #16134 was still crashing. Backpatch to v12, like the previous incomplete fix. Discussion: https://www.postgresql.org/message-id/d869f537-abe4-d2ea-0510-38cd053f5152%40gmail.com
Diffstat (limited to 'src/include/postgres.h')
0 files changed, 0 insertions, 0 deletions