[HACKERS] Re: handling NULLS in GiST

2001-07-16 Thread Oleg Bartunov
On Mon, 16 Jul 2001, Tom Lane wrote: Oleg Bartunov [EMAIL PROTECTED] writes: we noticed you changed gist.c to handle NULLS. It seems there is problem with your changes. I would like to see GIST upgraded to handle nulls, but at the moment it's not null-safe. Try a few null entries, watch

[HACKERS] Re: handling NULLS in GiST

2001-07-16 Thread Tom Lane
Oleg Bartunov [EMAIL PROTECTED] writes: we noticed you changed gist.c to handle NULLS. It seems there is problem with your changes. I would like to see GIST upgraded to handle nulls, but at the moment it's not null-safe. Try a few null entries, watch it core dump, if you don't have that patch

[HACKERS] Re: handling NULLS in GiST

2001-07-16 Thread Tom Lane
Oleg Bartunov [EMAIL PROTECTED] writes: contrib/cube is just a bad example :-) In any case if you give an interface to developer it's his responsibility to be aware of possible errors. Developer has always a possibility to divide by zero. We could change contrib/cube to be null-safe. My