Re: NULL's support in SP-GiST

From: Jaime Casanova <jaime(at)2ndquadrant(dot)com>
To: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: NULL's support in SP-GiST
Date: 2012-02-28 22:20:55
Message-ID: CAJKUy5iq=0i_hQByCxCVBfqdWbkjvanAWndMY7eJh1f074v9gA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Feb 2, 2012 at 4:26 PM, Oleg Bartunov <oleg(at)sai(dot)msu(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-02-28 22:35:14 Parameterized-path cost comparisons need some work
Previous Message Pavel Stehule 2012-02-28 21:27:51 Re: review: CHECK FUNCTION statement