sean(dot)johnston(at)edgeintelligence(dot)com writes:
> STATEMENT: ( ( select 1,2,3 ) union ( select 4,5,6 order by 1,2 ) order by
> 1,2 ) except ( select 4,5,6 ) order by 1,2;
> ERROR: no relation entry for relid 0
I've pushed a fix for this. Thanks for the report!
regards, tom lane