Re: NULL's support in SP-GiST - Mailing list pgsql-hackers

From Robert Haas
Subject Re: NULL's support in SP-GiST
Date
Msg-id CA+TgmoZTRSoQ3yvEcHfpiyYvG2qsbZq8Dqa4aCPh2Jkwfd7_UQ@mail.gmail.com
Whole thread Raw
In response to Re: NULL's support in SP-GiST  (Jaime Casanova <jaime@2ndquadrant.com>)
Responses Re: NULL's support in SP-GiST
List pgsql-hackers
On Tue, Feb 28, 2012 at 5:20 PM, Jaime Casanova <jaime@2ndquadrant.com> wrote:
> On Thu, Feb 2, 2012 at 4:26 PM, Oleg Bartunov <oleg@sai.msu.su> wrote:
>> attached patch introduces NULLs indexing for SP-GiST. With this patch
>> Sp-GiST supports IS NULL, IS NOT NULL clauses, as well as full index scan.
>
> I was looking at this.
> It passes all regression tests, and seems to work fine.
>
> What i don't like about it is that spgnull.c actually call GIN
> functions and even uses GIN flags. Don't know how bad it is, but IMO
> there is a module violation here.

That certainly doesn't sound like a good thing.

I guess the question is whether this is a stop-ship item for spgist.
If it is, then we're going to have to spend the time to fix this, but
if not, then since it was submitted more than two weeks after the
start of the CommitFest, it seems we should postpone it to 9.3.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Checksums, state of play
Next
From: Robert Haas
Date:
Subject: Re: patch for a locale-specific bug in regression tests (REL9_1_STABLE)