Обсуждение: Var->sublevels_up

Поиск
Список
Период
Сортировка

Var->sublevels_up

От
Bruce Momjian
Дата:
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 will take me a few days more to do it.  I just can't look at the code
anymore.

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

Re: Var->sublevels_up

От
Bruce Momjian
Дата:
>
> 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 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.

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

Re: Var->sublevels_up

От
"Vadim B. Mikheev"
Дата:
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.

> >
> > 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

Re: [HACKERS] Re: Var->sublevels_up

От
Bruce Momjian
Дата:
>
> 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