Thanks to visit codestin.com
Credit goes to postgrespro.com

pgsql: Fix tuple counting in SP-GiST index build. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix tuple counting in SP-GiST index build.
Date
Msg-id [email protected]
Whole thread Raw
List pgsql-committers
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/[email protected]

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/bf14575c840f6d49731809829583161e9a42af2b

Modified Files
--------------
src/backend/access/spgist/spginsert.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Call pgstat_report_activity() in parallel CREATE INDEX workers.
Next
From: Robert Haas
Date:
Subject: pgsql: doc: Update parallel join documentation for Parallel SharedHash