aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execParallel.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-03-22 13:13:58 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-03-22 13:14:07 -0400
commitc35b47286960d2c7885dce162ddfe26939d0d373 (patch)
tree1dc40d1bd725365a25cf57571e0ba51e68ba4f9a /src/backend/executor/execParallel.c
parente2f1eb0ee30d144628ab523432320f174a2c8966 (diff)
downloadpostgresql-c35b47286960d2c7885dce162ddfe26939d0d373.tar.gz
postgresql-c35b47286960d2c7885dce162ddfe26939d0d373.zip
Fix errors in contrib/bloom index build.
Count the number of tuples in the index honestly, instead of assuming that it's the same as the number of tuples in the heap. (It might be different if the index is partial.) Fix counting of tuples in current index page, too. This error would have led to failing to write out the final page of the index if it contained exactly one tuple, so that the last tuple of the relation would not get indexed. Back-patch to 9.6 where contrib/bloom was added. Tomas Vondra and Tom Lane Discussion: https://postgr.es/m/3b3d8eac-c709-0d25-088e-b98339a1b28a@2ndquadrant.com
Diffstat (limited to 'src/backend/executor/execParallel.c')
0 files changed, 0 insertions, 0 deletions