1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-12 05:01:15 +03:00

Change my-function-name-- to my_function_name, and optimizer renames.

This commit is contained in:
Bruce Momjian
1999-02-13 23:22:53 +00:00
parent 8c3fff7337
commit 6724a50787
617 changed files with 2005 additions and 2031 deletions

View File

@@ -1,11 +1,11 @@
/*-------------------------------------------------------------------------
*
* analyze.c--
* analyze.c
* transform the parse tree into a query tree
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: analyze.c,v 1.98 1999/02/08 14:14:11 wieck Exp $
* $Id: analyze.c,v 1.99 1999/02/13 23:16:51 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -235,14 +235,14 @@
/*#define YYDEBUG 1*/
/*-------------------------------------------------------------------------
*
* gram.y--
* gram.y
* POSTGRES SQL YACC rules/actions
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/gram.c,v 2.71 1999/02/09 06:30:40 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/gram.c,v 2.72 1999/02/13 23:16:54 momjian Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT

View File

@@ -3,14 +3,14 @@
/*#define YYDEBUG 1*/
/*-------------------------------------------------------------------------
*
* gram.y--
* gram.y
* POSTGRES SQL YACC rules/actions
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.54 1999/02/08 14:14:12 wieck Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.55 1999/02/13 23:17:03 momjian Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* keywords.c--
* keywords.c
* lexical token lookup for reserved words in postgres SQL
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/keywords.c,v 1.53 1999/02/08 14:14:13 wieck Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/keywords.c,v 1.54 1999/02/13 23:17:05 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* parse_agg.c--
* parse_agg.c
* handle aggregates in parser
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_agg.c,v 1.16 1999/01/24 00:28:29 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/parse_agg.c,v 1.17 1999/02/13 23:17:06 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -36,7 +36,7 @@ static bool exprIsAggOrGroupCol(Node *expr, List *groupClause);
static bool tleIsAggOrGroupCol(TargetEntry *tle, List *groupClause);
/*
* contain_agg_clause--
* contain_agg_clause
* Recursively find aggref nodes from a clause.
*
* Returns true if any aggregate found.

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* parse_clause.c--
* parse_clause.c
* handle clauses in parser
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_clause.c,v 1.27 1999/02/02 12:57:51 wieck Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/parse_clause.c,v 1.28 1999/02/13 23:17:07 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -43,7 +43,7 @@ static void parseFromClause(ParseState *pstate, List *frmList);
/*
* makeRangeTable -
* make a range table with the specified relation (optional) and the
* from-clause.
* from_clause.
*/
void
makeRangeTable(ParseState *pstate, char *relname, List *frmList)

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_func.c,v 1.37 1999/02/03 21:16:58 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/parse_func.c,v 1.38 1999/02/13 23:17:08 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -90,7 +90,7 @@ typedef struct _SuperQE
} SuperQE;
/*
** ParseNestedFuncOrColumn --
** ParseNestedFuncOrColumn
** Given a nested dot expression (i.e. (relation func ... attr), build up
** a tree with of Iter and Func nodes.
*/
@@ -1306,7 +1306,7 @@ make_arguments(ParseState *pstate,
}
/*
** setup_tlist --
** setup_tlist
** Build a tlist that says which attribute to project to.
** This routine is called by ParseFuncOrColumn() to set up a target list
** on a tuple parameter or return value. Due to a bug in 4.0,
@@ -1344,7 +1344,7 @@ setup_tlist(char *attname, Oid relid)
}
/*
** setup_base_tlist --
** setup_base_tlist
** Build a tlist that extracts a base type from the tuple
** returned by the executor.
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* parse_node.c--
* parse_node.c
* various routines that make nodes for query plans
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_node.c,v 1.23 1998/10/01 22:45:32 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/parse_node.c,v 1.24 1999/02/13 23:17:09 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* parse_relation.c--
* parse_relation.c
* parser support routines dealing with relations
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_relation.c,v 1.16 1998/09/01 04:30:36 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/parse_relation.c,v 1.17 1999/02/13 23:17:10 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,12 +1,12 @@
/*-------------------------------------------------------------------------
*
* parser.c--
* parser.c
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parser.c,v 1.36 1998/09/01 04:30:40 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/parser.c,v 1.37 1999/02/13 23:17:10 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -549,14 +549,14 @@ char *yytext;
#line 2 "scan.l"
/*-------------------------------------------------------------------------
*
* scan.l--
* scan.l
* lexical scanner for POSTGRES
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/scan.c,v 1.34 1999/02/09 03:51:39 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/scan.c,v 1.35 1999/02/13 23:17:11 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,14 +1,14 @@
%{
/*-------------------------------------------------------------------------
*
* scan.l--
* scan.l
* lexical scanner for POSTGRES
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.45 1999/02/07 23:58:10 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.46 1999/02/13 23:17:12 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,6 +1,6 @@
/*-------------------------------------------------------------------------
*
* scansup.c--
* scansup.c
* support routines for the lex/flex scanner, used by both the normal
* backend as well as the bootstrap backend
*
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/scansup.c,v 1.11 1999/02/07 23:59:59 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/scansup.c,v 1.12 1999/02/13 23:17:12 momjian Exp $
*
*-------------------------------------------------------------------------
*/