Обсуждение: pgsql: Check for GiST index tuples that don't fit on a page.

Поиск
Список
Период
Сортировка

pgsql: Check for GiST index tuples that don't fit on a page.

От
Heikki Linnakangas
Дата:
Check for GiST index tuples that don't fit on a page.

The page splitting code would go into infinite recursion if you try to
insert an index tuple that doesn't fit even on an empty page.

Per analysis and suggested fix by Andrew Gierth. Fixes bug #11555, reported
by Bryan Seitz (analysis happened over IRC). Backpatch to all supported
versions.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/925e10dc57cdf0efb7268a65b411f1e58ac5116d

Modified Files
--------------
src/backend/access/gist/gist.c |   17 +++++++++++++++++
1 file changed, 17 insertions(+)