1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +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 @@
/*-------------------------------------------------------------------------
*
* execAmi.c--
* execAmi.c
* miscellanious executor access method routines
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: execAmi.c,v 1.31 1999/02/09 17:02:44 momjian Exp $
* $Id: execAmi.c,v 1.32 1999/02/13 23:15:14 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,6 +1,6 @@
/*-------------------------------------------------------------------------
*
* execFlatten.c--
* execFlatten.c
* This file handles the nodes associated with flattening sets in the
* target list of queries containing functions returning sets.
*
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/Attic/execFlatten.c,v 1.7 1998/09/01 04:28:14 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/Attic/execFlatten.c,v 1.8 1999/02/13 23:15:16 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* junk.c--
* junk.c
* Junk attribute support stuff....
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/execJunk.c,v 1.15 1999/02/03 21:16:10 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/execJunk.c,v 1.16 1999/02/13 23:15:16 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,6 +1,6 @@
/*-------------------------------------------------------------------------
*
* execMain.c--
* execMain.c
* top level executor interface routines
*
* INTERFACE ROUTINES
@@ -26,7 +26,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.76 1999/02/08 14:14:09 wieck Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.77 1999/02/13 23:15:17 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,6 +1,6 @@
/*-------------------------------------------------------------------------
*
* execProcnode.c--
* execProcnode.c
* contains dispatch functions which call the appropriate "initialize",
* "get a tuple", and "cleanup" routines for the given node type.
* If the node has children, then it will presumably call ExecInitNode,
@@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/execProcnode.c,v 1.12 1998/09/01 03:22:17 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/execProcnode.c,v 1.13 1999/02/13 23:15:17 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* execQual.c--
* execQual.c
* Routines to evaluate qualification and targetlist expressions
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/execQual.c,v 1.42 1999/02/03 21:16:10 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/execQual.c,v 1.43 1999/02/13 23:15:18 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,6 +1,6 @@
/*-------------------------------------------------------------------------
*
* execScan.c--
* execScan.c
* This code provides support for generalized relation scans. ExecScan
* is passed a node and a pointer to a function to "do the right thing"
* and return a tuple from the relation. ExecScan then does the tedious
@@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/execScan.c,v 1.8 1998/09/01 04:28:20 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/execScan.c,v 1.9 1999/02/13 23:15:18 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,6 +1,6 @@
/*-------------------------------------------------------------------------
*
* execTuples.c--
* execTuples.c
* Routines dealing with the executor tuple tables. These are used to
* ensure that the executor frees copies of tuples (made by
* ExecTargetList) properly.
@@ -14,7 +14,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/execTuples.c,v 1.22 1999/02/03 21:16:11 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/execTuples.c,v 1.23 1999/02/13 23:15:19 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* execUtils.c--
* execUtils.c
* miscellanious executor utility routines
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/execUtils.c,v 1.42 1999/02/03 21:16:11 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/execUtils.c,v 1.43 1999/02/13 23:15:20 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -450,12 +450,12 @@ ExecAssignScanTypeFromOuterPlan(Plan *node, CommonScanState *csstate)
* Routines dealing with the structure 'attribute' which conatains
* the type information about attributes in a tuple:
*
* ExecMakeTypeInfo(noType) --
* ExecMakeTypeInfo(noType)
* returns pointer to array of 'noType' structure 'attribute'.
* ExecSetTypeInfo(index, typeInfo, attNum, attLen) --
* ExecSetTypeInfo(index, typeInfo, attNum, attLen)
* sets the element indexed by 'index' in typeInfo with
* the values: attNum, attLen.
* ExecFreeTypeInfo(typeInfo) --
* ExecFreeTypeInfo(typeInfo)
* frees the structure 'typeInfo'.
* ----------------------------------------------------------------
*/

View File

@@ -1,6 +1,6 @@
/*-------------------------------------------------------------------------
*
* functions.c--
* functions.c
* Routines to handle functions called from the executor
* Putting this stuff in fmgr makes the postmaster a mess....
*
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/functions.c,v 1.23 1999/02/08 14:14:09 wieck Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/functions.c,v 1.24 1999/02/13 23:15:20 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,6 +1,6 @@
/*-------------------------------------------------------------------------
*
* nodeAgg.c--
* nodeAgg.c
* Routines to handle aggregate nodes.
*
* Copyright (c) 1994, Regents of the University of California

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* nodeAppend.c--
* nodeAppend.c
* routines to handle append nodes.
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeAppend.c,v 1.16 1999/02/03 21:16:12 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeAppend.c,v 1.17 1999/02/13 23:15:21 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -68,7 +68,7 @@
static bool exec_append_initialize_next(Append *node);
/* ----------------------------------------------------------------
* exec-append-initialize-next
* exec_append_initialize_next
*
* Sets up the append node state (i.e. the append state node)
* for the "next" scan.

View File

@@ -1,6 +1,6 @@
/*-------------------------------------------------------------------------
*
* nodeGroup.c--
* nodeGroup.c
* Routines to handle group nodes (used for queries with GROUP BY clause).
*
* Copyright (c) 1994, Regents of the University of California
@@ -13,7 +13,7 @@
* columns. (ie. tuples from the same group are consecutive)
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeGroup.c,v 1.24 1999/01/24 05:40:47 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeGroup.c,v 1.25 1999/02/13 23:15:21 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,12 +1,12 @@
/*-------------------------------------------------------------------------
*
* nodeHash.c--
* nodeHash.c
* Routines to hash relations for hashjoin
*
* Copyright (c) 1994, Regents of the University of California
*
*
* $Id: nodeHash.c,v 1.30 1999/02/03 21:16:12 momjian Exp $
* $Id: nodeHash.c,v 1.31 1999/02/13 23:15:22 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* nodeHashjoin.c--
* nodeHashjoin.c
* Routines to handle hash join nodes
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeHashjoin.c,v 1.16 1999/02/03 21:16:13 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeHashjoin.c,v 1.17 1999/02/13 23:15:23 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* nodeIndexscan.c--
* nodeIndexscan.c
* Routines to support indexes and indexed scans of relations
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeIndexscan.c,v 1.31 1999/02/03 21:16:14 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeIndexscan.c,v 1.32 1999/02/13 23:15:24 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* nodeMaterial.c--
* nodeMaterial.c
* Routines to handle materialization nodes.
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeMaterial.c,v 1.20 1999/02/09 17:02:44 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeMaterial.c,v 1.21 1999/02/13 23:15:24 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* nodeMergejoin.c--
* nodeMergejoin.c
* routines supporting merge joins
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeMergejoin.c,v 1.20 1999/02/03 21:16:14 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeMergejoin.c,v 1.21 1999/02/13 23:15:24 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* nodeNestloop.c--
* nodeNestloop.c
* routines to support nest-loop joins
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeNestloop.c,v 1.10 1998/06/15 19:28:22 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeNestloop.c,v 1.11 1999/02/13 23:15:25 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,6 +1,6 @@
/*-------------------------------------------------------------------------
*
* nodeResult.c--
* nodeResult.c
* support for constant nodes needing special code.
*
* Copyright (c) 1994, Regents of the University of California
@@ -27,7 +27,7 @@
* SeqScan (emp.all)
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeResult.c,v 1.8 1998/02/26 04:31:31 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeResult.c,v 1.9 1999/02/13 23:15:26 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* nodeSeqscan.c--
* nodeSeqscan.c
* Support routines for sequential scans of relations.
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeSeqscan.c,v 1.16 1999/01/29 09:22:58 vadim Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeSeqscan.c,v 1.17 1999/02/13 23:15:26 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* nodeSort.c--
* nodeSort.c
* Routines to handle sorting of relations.
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeSort.c,v 1.17 1999/02/09 17:02:45 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeSort.c,v 1.18 1999/02/13 23:15:27 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,6 +1,6 @@
/*-------------------------------------------------------------------------
*
* nodeSubplan.c--
* nodeSubplan.c
* routines to support subselects
*
*-------------------------------------------------------------------------

View File

@@ -1,6 +1,6 @@
/*-------------------------------------------------------------------------
*
* nodeTee.c--
* nodeTee.c
*
*
* Copyright (c) 1994, Regents of the University of California
@@ -14,7 +14,7 @@
* ExecInitTee
* ExecEndTee
*
* $Id: nodeTee.c,v 1.29 1999/02/02 03:44:24 momjian Exp $
* $Id: nodeTee.c,v 1.30 1999/02/13 23:15:29 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* nodeUnique.c--
* nodeUnique.c
* Routines to handle unique'ing of queries where appropriate
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeUnique.c,v 1.19 1999/01/24 05:40:48 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeUnique.c,v 1.20 1999/02/13 23:15:29 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,9 +1,9 @@
/*-------------------------------------------------------------------------
*
* spi.c--
* spi.c
* Server Programming Interface
*
* $Id: spi.c,v 1.33 1999/02/08 14:14:10 wieck Exp $
* $Id: spi.c,v 1.34 1999/02/13 23:15:30 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -549,7 +549,7 @@ SPI_pfree(void *pointer)
/* =================== private functions =================== */
/*
* spi_printtup --
* spi_printtup
* store tuple retrieved by Executor into SPITupleTable
* of current SPI procedure
*
@@ -925,7 +925,7 @@ _SPI_procmem()
}
/*
* _SPI_begin_call --
* _SPI_begin_call
*
*/
static int