aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistscan.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-10-12 18:01:34 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2020-10-12 18:01:34 -0400
commit12945874ebd661b1748d2258d28f96adb473486b (patch)
tree74fa9aa1733e29a9cb7939b86fab5b36c040b6ce /src/backend/access/gist/gistscan.c
parentf35c117700122cca2229b9a20a30d12a2ace7bfd (diff)
downloadpostgresql-12945874ebd661b1748d2258d28f96adb473486b.tar.gz
postgresql-12945874ebd661b1748d2258d28f96adb473486b.zip
Fix GiST buffering build to work when there are included columns.
gistRelocateBuildBuffersOnSplit did not get the memo about which attribute count to use. This could lead to a crash if there were included columns and buffering build was chosen. (Because there are random page-split decisions elsewhere in GiST index build, the crashes are not entirely deterministic.) Back-patch to v12 where GiST gained support for included columns. Pavel Borisov Discussion: https://postgr.es/m/CALT9ZEECCV5m7wvxg46PC-7x-EybUmnpupBGhSFMoAAay+r6HQ@mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gistscan.c')
0 files changed, 0 insertions, 0 deletions