Heikki Linnakangas <hlinnakangas@vmware.com> writes:
> On 11.10.2012 14:42, Craig Ringer wrote:
>> No crash here on version() = PostgreSQL 9.1.5 on
>> x86_64-redhat-linux-gnu, compiled by gcc (GCC) 4.7.0 20120507 (Red Hat
>> 4.7.0-5), 64-bit
> I can reproduce this on my Windows box with the script Bo provided, with
> a fresh checkout from git master branch. Stack trace looks like this:
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.
regards, tom lane