Re: BUG #7597: exception 0xC0000005 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #7597: exception 0xC0000005
Date
Msg-id 1134.1349967981@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #7597: exception 0xC0000005  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
I wrote:
> I see it too.  I think the crash probably only occurs on a 32-bit build
> (or one where you've disabled int8-pass-by-value anyway).  Looks like
> something's confused about cross-data-type comparisons --- this is an
> int4 vs int8 comparison, so it shouldn't be ending up at int8eq.

Argh ... the reason we're ending up at int8eq is that findPartialMatch
is using the wrong set of equality functions.  hashtable->cur_eq_funcs
correctly references int8eq, but what we want to be using is the
SubPlanState's cur_eq_funcs.  Amazing it took this long for anybody
to notice, because that's been wrong a long time.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: BUG #7534: walreceiver takes long time to detect n/w breakdown
Next
From: Amit kapila
Date:
Subject: Re: BUG #7534: walreceiver takes long time to detect n/w breakdown