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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix tuple counting in SP-GiST index build.
Дата
Msg-id E1ez3wk-000688-5S@gemulon.postgresql.org
обсуждение исходный текст
Список 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/3b3d8eac-c709-0d25-088e-b98339a1b28a@2ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/649f1792508fb040a9b70c68dfedd6b93897e087

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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Call pgstat_report_activity() in parallel CREATE INDEX workers.
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: doc: Update parallel join documentation for Parallel SharedHash