Thread: pgsql: Improve page split in rtree emulation.

pgsql: Improve page split in rtree emulation.

From
teodor@postgresql.org (Teodor Sigaev)
Date:
Log Message:
-----------
Improve page split in rtree emulation. Now if splitted result has
big misalignement, then it tries to split page basing on distribution
of boxe's centers.

Per report from  Dolafi, Tom <dolafit@janelia.hhmi.org>

 Backpatch is needed, changes doesn't affect on-disk storage.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/src/backend/access/gist:
        gistproc.c (r1.9 -> r1.9.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/gist/gistproc.c?r1=1.9&r2=1.9.2.1)