The nature of the problem is this: if gist_box_picksplit doesn't find a good disposition on the first try, then it tries to split the data again based on the positions of the box centers. But there's a problem here with floating-point rounding; it's possible for the average of N
Look at the patch, it fixes the problem by comparing for equality by FPeq() macros which is used everywhere in geometry calculation.
-- Teodor Sigaev E-mail: [email protected] WWW: http://www.sigaev.ru/
gist.patch.gz
Description: Unix tar archive
-- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
