Re: pgsql/src backend/catalog/index.c backend/pars ... - Mailing list pgsql-committers

From Bruce Momjian
Subject Re: pgsql/src backend/catalog/index.c backend/pars ...
Date
Msg-id 200105182302.f4IN25K16114@candle.pha.pa.us
Whole thread Raw
In response to pgsql/src backend/catalog/index.c backend/pars ...  (Bruce Momjian - CVS <momjian@hub.org>)
List pgsql-committers
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Here is my comment added to the top of the code.  Is it correct?
>
> >  *     This code is confusing code because the database can accept
> >  *  relation.column, column.function, or relation.column.function.
> >  *  It can also be called as func(col) or func(col,col).
>
> That's correct.
>
> >  *    Funcname is the first parameter, and fargs are the rest.
>
> That's not, or at least it doesn't apply to the dot-notation cases.
> func(col) and col.func are equivalent notations and look the same
> by the time they get to this routine.

Oh, got it.  I will put the old name back and update the comment.


--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@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

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql/src backend/catalog/index.c backend/pars ...
Next
From: Tom Lane
Date:
Subject: Re: pgsql/src backend/catalog/index.c backend/pars ...