Thread: pgsql: Fix 'all at one page bug' in picksplit method of R-tree

pgsql: Fix 'all at one page bug' in picksplit method of R-tree

From
teodor@postgresql.org (Teodor Sigaev)
Date:
Log Message:
-----------
Fix 'all at one page bug' in picksplit method of R-tree emulation. Add defense
from buggy user-defined picksplit to GiST.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/src/backend/access/gist:
        gistproc.c (r1.9.2.1 -> r1.9.2.2)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/gist/gistproc.c?r1=1.9.2.1&r2=1.9.2.2)
        gistsplit.c (r1.3 -> r1.3.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/gist/gistsplit.c?r1=1.3&r2=1.3.2.1)