Re: Who is a maintainer of GiST code ? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Who is a maintainer of GiST code ?
Date
Msg-id 11222.977342421@sss.pgh.pa.us
Whole thread Raw
In response to Re: Who is a maintainer of GiST code ?  (Oleg Bartunov <oleg@sai.msu.su>)
Responses Re: Who is a maintainer of GiST code ?  (Oleg Bartunov <oleg@sai.msu.su>)
List pgsql-hackers
Oleg Bartunov <oleg@sai.msu.su> writes:
> seems rtree doesn't ignore NULL ?

Hm, maybe not.  There are explicit tests to ignore null inputs in hash
indexes (hash/hash.c), and I'd just sort of assumed that rtree and gist
do the same.

FWIW, your example doesn't seem to provoke an error in current sources;
but it does take quite a long time (far longer than building a btree
index on 10000 nulls).  That makes me think that indexing nulls in rtree
might be a bad idea even if it works.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Three types of functions, ala function redux.
Next
From: Tom Lane
Date:
Subject: Re: Re: Table name scope (was Re: [BUGS] Outer joins aren't working with views)