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

From Jaime Casanova
Subject Re: NULL's support in SP-GiST
Date
Msg-id CAJKUy5iq=0i_hQByCxCVBfqdWbkjvanAWndMY7eJh1f074v9gA@mail.gmail.com
Whole thread Raw
In response to NULL's support in SP-GiST  (Oleg Bartunov <oleg@sai.msu.su>)
Responses Re: NULL's support in SP-GiST
List pgsql-hackers
On Thu, Feb 2, 2012 at 4:26 PM, Oleg Bartunov <oleg@sai.msu.su> wrote:
> Hi there,
>
> 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.

--
Jaime Casanova         www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: review: CHECK FUNCTION statement
Next
From: Tom Lane
Date:
Subject: Parameterized-path cost comparisons need some work