mirror of
https://github.com/postgres/postgres.git
synced 2025-11-10 17:42:29 +03:00
Change my-function-name-- to my_function_name, and optimizer renames.
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* copyfuncs.c--
|
||||
* copyfuncs.c
|
||||
* Copy functions for Postgres tree nodes.
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.69 1999/02/12 06:43:21 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.70 1999/02/13 23:15:53 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -32,7 +32,7 @@
|
||||
#include "optimizer/planmain.h"
|
||||
|
||||
/*
|
||||
* listCopy--
|
||||
* listCopy
|
||||
* this copy function only copies the "lcons-cells" of the list but not
|
||||
* its contents. (good for list of pointers as well as list of integers).
|
||||
*/
|
||||
@@ -57,7 +57,7 @@ listCopy(List *list)
|
||||
}
|
||||
|
||||
/*
|
||||
* Node_Copy--
|
||||
* Node_Copy
|
||||
* a macro to simplify calling of copyObject on the specified field
|
||||
*/
|
||||
#define Node_Copy(from, newnode, field) \
|
||||
@@ -1327,7 +1327,7 @@ _copyMergeOrder(MergeOrder *from)
|
||||
* ----------------
|
||||
*/
|
||||
static RestrictInfo *
|
||||
_copyRestrictInfo(RestrictInfo * from)
|
||||
_copyRestrictInfo(RestrictInfo *from)
|
||||
{
|
||||
RestrictInfo *newnode = makeNode(RestrictInfo);
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* equalfuncs.c--
|
||||
* equalfuncs.c
|
||||
* equal functions to compare the nodes
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/equalfuncs.c,v 1.31 1999/02/12 06:43:22 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/equalfuncs.c,v 1.32 1999/02/13 23:15:55 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -281,7 +281,7 @@ _equalFunc(Func *a, Func *b)
|
||||
* RestrictInfo is a subclass of Node.
|
||||
*/
|
||||
static bool
|
||||
_equalRestrictInfo(RestrictInfo * a, RestrictInfo * b)
|
||||
_equalRestrictInfo(RestrictInfo *a, RestrictInfo *b)
|
||||
{
|
||||
Assert(IsA(a, RestrictInfo));
|
||||
Assert(IsA(b, RestrictInfo));
|
||||
@@ -697,7 +697,7 @@ _equalValue(Value *a, Value *b)
|
||||
}
|
||||
|
||||
/*
|
||||
* equal--
|
||||
* equal
|
||||
* returns whether two nodes are equal
|
||||
*/
|
||||
bool
|
||||
@@ -846,7 +846,7 @@ equal(void *a, void *b)
|
||||
}
|
||||
|
||||
/*
|
||||
* equali--
|
||||
* equali
|
||||
* compares two lists of integers
|
||||
*
|
||||
* XXX temp hack. needs something like T_IntList
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* freefuncs.c--
|
||||
* freefuncs.c
|
||||
* Free functions for Postgres tree nodes.
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/Attic/freefuncs.c,v 1.9 1999/02/12 06:43:23 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/Attic/freefuncs.c,v 1.10 1999/02/13 23:15:56 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -939,7 +939,7 @@ _freeMergeOrder(MergeOrder *node)
|
||||
* ----------------
|
||||
*/
|
||||
static void
|
||||
_freeRestrictInfo(RestrictInfo * node)
|
||||
_freeRestrictInfo(RestrictInfo *node)
|
||||
{
|
||||
/* ----------------
|
||||
* free remainder of node
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* list.c--
|
||||
* list.c
|
||||
* various list handling routines
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/list.c,v 1.16 1999/02/09 03:51:13 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/list.c,v 1.17 1999/02/13 23:15:57 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* XXX a few of the following functions are duplicated to handle
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* makefuncs.c--
|
||||
* makefuncs.c
|
||||
* creator functions for primitive nodes. The functions here are for
|
||||
* the most frequently created nodes.
|
||||
*
|
||||
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/makefuncs.c,v 1.12 1998/07/20 20:01:47 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/makefuncs.c,v 1.13 1999/02/13 23:15:58 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* Creator functions in POSTGRES 4.2 are generated automatically. Most of
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* nodeFuncs.c--
|
||||
* nodeFuncs.c
|
||||
* All node routines more complicated than simple access/modification
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/nodeFuncs.c,v 1.8 1998/09/01 03:22:57 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/nodeFuncs.c,v 1.9 1999/02/13 23:15:59 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* nodes.c--
|
||||
* nodes.c
|
||||
* support code for nodes (now that we get rid of the home-brew
|
||||
* inheritance system, our support code for nodes get much simpler)
|
||||
*
|
||||
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/nodes.c,v 1.6 1998/09/01 03:22:58 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/nodes.c,v 1.7 1999/02/13 23:15:59 momjian Exp $
|
||||
*
|
||||
* HISTORY
|
||||
* Andrew Yu Oct 20, 1994 file creation
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
*
|
||||
* outfuncs.c--
|
||||
* outfuncs.c
|
||||
* routines to convert a node to ascii representation
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: outfuncs.c,v 1.71 1999/02/12 06:43:24 momjian Exp $
|
||||
* $Id: outfuncs.c,v 1.72 1999/02/13 23:15:59 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* Every (plan) node in POSTGRES has an associated "out" routine which
|
||||
@@ -1148,7 +1148,7 @@ _outMergeOrder(StringInfo str, MergeOrder *node)
|
||||
* RestrictInfo is a subclass of Node.
|
||||
*/
|
||||
static void
|
||||
_outRestrictInfo(StringInfo str, RestrictInfo * node)
|
||||
_outRestrictInfo(StringInfo str, RestrictInfo *node)
|
||||
{
|
||||
appendStringInfo(str, " RESTRICTINFO :clause ");
|
||||
_outNode(str, node->clause);
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* print.c--
|
||||
* print.c
|
||||
* various print routines (used mostly for debugging)
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/print.c,v 1.21 1999/02/10 03:52:36 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/print.c,v 1.22 1999/02/13 23:16:00 momjian Exp $
|
||||
*
|
||||
* HISTORY
|
||||
* AUTHOR DATE MAJOR EVENT
|
||||
@@ -36,7 +36,7 @@
|
||||
static char *plannode_type(Plan *p);
|
||||
|
||||
/*
|
||||
* print--
|
||||
* print
|
||||
* print contents of Node to stdout
|
||||
*/
|
||||
void
|
||||
@@ -125,7 +125,7 @@ pprint(void *obj)
|
||||
}
|
||||
|
||||
/*
|
||||
* print_rt--
|
||||
* print_rt
|
||||
* print contents of range table
|
||||
*/
|
||||
void
|
||||
@@ -150,7 +150,7 @@ print_rt(List *rtable)
|
||||
|
||||
|
||||
/*
|
||||
* print_expr--
|
||||
* print_expr
|
||||
* print an expression
|
||||
*/
|
||||
void
|
||||
@@ -233,7 +233,7 @@ print_pathkeys(List *pathkeys, List *rtable)
|
||||
}
|
||||
|
||||
/*
|
||||
* print_tl --
|
||||
* print_tl
|
||||
* print targetlist in a more legible way.
|
||||
*/
|
||||
void
|
||||
@@ -258,7 +258,7 @@ print_tl(List *tlist, List *rtable)
|
||||
}
|
||||
|
||||
/*
|
||||
* print_slot--
|
||||
* print_slot
|
||||
* print out the tuple with the given TupleTableSlot
|
||||
*/
|
||||
void
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* read.c--
|
||||
* read.c
|
||||
* routines to convert a string (legal ascii representation of node) back
|
||||
* to nodes
|
||||
*
|
||||
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/read.c,v 1.13 1998/09/01 03:23:01 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/read.c,v 1.14 1999/02/13 23:16:01 momjian Exp $
|
||||
*
|
||||
* HISTORY
|
||||
* AUTHOR DATE MAJOR EVENT
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* readfuncs.c--
|
||||
* readfuncs.c
|
||||
* Reader functions for Postgres tree nodes.
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/readfuncs.c,v 1.56 1999/02/12 06:43:24 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/readfuncs.c,v 1.57 1999/02/13 23:16:02 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* Most of the read functions for plan nodes are tested. (In fact, they
|
||||
|
||||
Reference in New Issue
Block a user