Brent Verner <brent@rcfile.org> writes:
> here's a post-mortem.
> #0 0x1200ce58c in ExecEvalFieldSelect (fselect=0x1401615c0,
> econtext=0x14016a030, isNull=0x14016ab31 "", isDone=0x0) at execQual.c:1096
Looks reasonable as far as it goes. Evidently the crash is in the
heap_getattr macro call at line 1096 of src/backend/executor/execQual.c.
We need to look at the data structures that macro uses.
What do you get from
p *fselect
p *econtext
p *resSlot->val
p *resSlot->ttc_tupleDescriptor
BTW, if you didn't configure with --enable-cassert, it'd be a good idea
to go back and try it that way...
regards, tom lane