From: | Oleg Bartunov <oleg(at)sai(dot)msu(dot)su> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Cc: | tgl(at)sss(dot)pgh(dot)pa(dot)us |
Subject: | equal operator for _int4 (array of int4) |
Date: | 2000-12-21 16:20:44 |
Message-ID: | Pine.GSO.3.96.SK.1001221190525.19999l-100000@ra |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tom,
while porting our patches for GiST from 7.0.3 to 7.1 we
got a problem with equal operator for _int4 -
src/backend/access/gist.c:540
/* did union leave decompressed version of oldud unchanged? */
FunctionCall3(&giststate->equalFn,
PointerGetDatum(ev0p->pred),
PointerGetDatum(datum),
PointerGetDatum(&result));
this call produces core when one of the PointerGetDatum(ev0p->pred)
or PointerGetDatum(datum) is NULL
We use internal postgres function for array comparison -
&giststate->equalFn is references to array_eq
There is no problem in 7.0.3
Do you have any idea what could be a reason for such behaivour ?
(bug or feature :-)
regards,
Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2000-12-21 16:32:47 | Re: equal operator for _int4 (array of int4) |
Previous Message | Larry Rosenman | 2000-12-21 16:16:02 | Re: CIDR output format |