Re: [HACKERS] compress method for spgist - 2 - Mailing list pgsql-hackers

From Darafei Praliaskouski
Subject Re: [HACKERS] compress method for spgist - 2
Date
Msg-id 20170920190059.1354.29457.pgcf@coridan.postgresql.org
Whole thread Raw
In response to Re: [HACKERS] compress method for spgist - 2  (Alexander Korotkov <a.korotkov@postgrespro.ru>)
Responses Re: [HACKERS] compress method for spgist - 2
Re: [HACKERS] compress method for spgist - 2
List pgsql-hackers
The following review has been posted through the commitfest application:
make installcheck-world:  not tested
Implements feature:       not tested
Spec compliant:           not tested
Documentation:            tested, passed

Hi,

I like the SP-GiST part of the patch. Looking forward to it, so PostGIS can benefit from SP-GiST infrastructure.

I have some questions about the circles example though.
* What is the reason for isnan check and swap of box ordinates for circle? It wasn't in the code previously.* There are
testsfor infinities in circles, but checks are for NaNs.* It seems to me that circle can be implemented without
recheck,by making direct exact calculations.
 
How about removing circle from the scope of this patch, so it is smaller and cleaner?
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: [HACKERS] CREATE COLLATION does not sanitize ICU's BCP 47language tags. Should it?
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] [Proposal] Allow users to specify multiple tables in VACUUM commands