| От | Tom Lane |
|---|---|
| Тема | Re: BUG #7597: exception 0xC0000005 |
| Дата | |
| Msg-id | 1134.1349967981@sss.pgh.pa.us обсуждение |
| Ответ на | Re: BUG #7597: exception 0xC0000005 (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера