Re: pgsql/src backend/catalog/index.c backend/pars ...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql/src backend/catalog/index.c backend/pars ...
Дата
Msg-id 26963.990226831@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql/src backend/catalog/index.c backend/pars ...  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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.

            regards, tom lane

В списке pgsql-committers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pgsql/src backend/catalog/index.c backend/pars ...
Следующее
От: Bruce Momjian - CVS
Дата:
Сообщение: pgsql/src/backend/parser parse_func.c