aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.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
commitbf14575c840f6d49731809829583161e9a42af2b (patch)
tree08435b040cfb094e86d53b3ca0ef743c19853cc4 /src/tutorial/funcs.c
parent76e2b5ae4151e8a193d677cfab55d7228cbc8b97 (diff)
downloadpostgresql-bf14575c840f6d49731809829583161e9a42af2b.tar.gz
postgresql-bf14575c840f6d49731809829583161e9a42af2b.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/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions