> Do you want to look at this Bruce? I haven't looked at it yet, but think
> it might be deeper into the backend than the parser (haven't run into
> mcxt.c before).
>
> I am testing on a Friday's version of the cvs tree.
The problem appears to be in the sorting of nulls, which is used by
UNION ALL:
test=> select null order by 1;
ERROR: type id lookup of 0 failed
--
Bruce Momjian | 830 Blythe Avenue
maillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)