aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/spgist/spgxlog.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-03-22 13:23:48 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-03-22 13:23:48 -0400
commiteee190da7eebe1409d770ee48bf3258ad73f34fb (patch)
tree34ccf1bd42825babb32b31d8bc3023010db749b6 /src/backend/access/spgist/spgxlog.c
parenta35d7292316556a172f82796811f1ffb3400160b (diff)
downloadpostgresql-eee190da7eebe1409d770ee48bf3258ad73f34fb.tar.gz
postgresql-eee190da7eebe1409d770ee48bf3258ad73f34fb.zip
Fix tuple counting in SP-GiST 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.) Back-patch to all supported versions. Tomas Vondra Discussion: https://postgr.es/m/3b3d8eac-c709-0d25-088e-b98339a1b28a@2ndquadrant.com
Diffstat (limited to 'src/backend/access/spgist/spgxlog.c')
0 files changed, 0 insertions, 0 deletions