Re: [HACKERS] 6.5 TODO list - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] 6.5 TODO list
Date
Msg-id 199905111837.OAA20995@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] 6.5 TODO list  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] 6.5 TODO list  (jwieck@debis.com (Jan Wieck))
List 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,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] More on GROUP BY
Next
From: Massimo Dal Zotto
Date:
Subject: Re: [HACKERS] problems with parser