Re: [HACKERS] Re: Var->sublevels_up

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

From: Bruce Momjian <maillist@candle.pha.pa.us>
To: vadim@sable.krasnoyarsk.su (Vadim B. Mikheev)
Cc: hackers@postgreSQL.org
Date: 1998-01-20T14:42:12Z
Lists: pgsql-hackers
> 
> Bruce Momjian wrote:
> > 
> > >
> > > I can't figure out how to properly do the the Var->sublevels_up search in the
> > > existing code, partly because I can't figure out what it is doing.
>                                                      ^^^^^^^^^^^^^^^^
> It says what range table should be used to find Var' relation.

My problem was the ParseFunc really does much more than handle
functions.  It handles:

	colname
	rel.colname
	rel.colname.func
	sum(colname)
	sum(rel.colname)
	
and probably much more than that.

> 
> > >
> > > It will take me a few days more to do it.  I just can't look at the code
> > > anymore.
> > 
> > OK, I think I have a handle on it now.  Should be two days.
> 
> Ok.
> 
> Vadim
> 
> 


-- 
Bruce Momjian
maillist@candle.pha.pa.us