> Ugh. I thought that was a pretty unrobust way of doing things :-(
> If you change the lines in planner.c:
>
> /* Is it safe to use just resno to match tlist and glist items?? */
> if (grpcl->entry->resdom->resno == resdom->resno)
>
> to use equal() on the expr's of the two TLEs, does it work any better?
>
> > Currently I think the correct solution would be to expand the
> > targetlist already in the rewrite system and leave it
> > untouched in the planner. Comments?
>
> OK with me, but possibly rather a major change to be making this late
> in beta...
But it is already broken. Can't get worse, can it?
-- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610)
853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill,
Pennsylvania19026