Re: [HACKERS] Re: Var->sublevels_up - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Re: Var->sublevels_up
Date
Msg-id 199801201442.JAA02206@candle.pha.pa.us
Whole thread Raw
In response to Re: Var->sublevels_up  ("Vadim B. Mikheev" <vadim@sable.krasnoyarsk.su>)
List 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

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Re: [QUESTIONS] Business cases
Next
From: todd brandys
Date:
Subject: Re: [HACKERS] Re: New pg_pwd patch and stuff