Re: [HACKERS] 6.5 TODO list

Bruce Momjian <maillist@candle.pha.pa.us>

From: Bruce Momjian <maillist@candle.pha.pa.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Jan Wieck <jwieck@debis.com>, hackers@postgreSQL.org
Date: 1999-05-11T18:37:41Z
Lists: pgsql-hackers
> 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, Pennsylvania 19026