Re: Who is a maintainer of GiST code ?

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Oleg Bartunov <oleg@sai.msu.su>
Cc: Hannu Krosing <hannu@tm.ee>, Bruce Momjian <pgman@candle.pha.pa.us>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2000-12-20T20:00:21Z
Lists: 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