pgsql/src backend/parser/parse_expr.c backend/ ...

From: Bruce Momjian - CVS <momjian(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src backend/parser/parse_expr.c backend/ ...
Date: 2001-05-19 00:33:20
Message-ID: 200105190033.f4J0XKL91592@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /home/projects/pgsql/cvsroot
Module name: pgsql
Changes by: momjian(at)hub(dot)org 01/05/18 20:33:20

Modified files:
src/backend/parser: parse_expr.c parse_func.c
src/include/parser: parse_func.h

Log message:
New comment. This func/column things has always confused me.

/*
* parse function
* This code is confusing because the database can accept
* relation.column, column.function, or relation.column.function.
* In these cases, funcname is the last parameter, and fargs are
* the rest.
*
* It can also be called as func(col) or func(col,col).
* In this case, Funcname is the part before parens, and fargs
* are the part in parens.
*
*/
Node *
ParseFuncOrColumn(ParseState *pstate, char *funcname, List *fargs,
bool agg_star, bool agg_distinct,
int precedence)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian - CVS 2001-05-19 00:37:46 pgsql/src/backend/parser parse_func.c
Previous Message Bruce Momjian 2001-05-18 23:02:05 Re: pgsql/src backend/catalog/index.c backend/pars ...