diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2018-03-22 13:23:47 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2018-03-22 13:24:05 -0400 |
commit | 649f1792508fb040a9b70c68dfedd6b93897e087 (patch) | |
tree | 5ee7fbae08c02394299d9ebf6bdd4918c29d35bf /src/backend/executor/execParallel.c | |
parent | 7de4a1bcc56f494acbd0d6e70781df877dc8ecb5 (diff) | |
download | postgresql-649f1792508fb040a9b70c68dfedd6b93897e087.tar.gz postgresql-649f1792508fb040a9b70c68dfedd6b93897e087.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/executor/execParallel.c')
0 files changed, 0 insertions, 0 deletions