mirror of
https://github.com/postgres/postgres.git
synced 2025-08-30 06:01:21 +03:00
Change my-function-name-- to my_function_name, and optimizer renames.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* version.c--
|
||||
* version.c
|
||||
* This file contains all the rules that govern all version semantics.
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
@@ -9,7 +9,7 @@
|
||||
* doesn't work! - jolly 8/19/95
|
||||
*
|
||||
*
|
||||
* $Id: version.c,v 1.17 1998/12/14 06:50:19 scrappy Exp $
|
||||
* $Id: version.c,v 1.18 1999/02/13 23:15:12 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* At the point the version is defined, 2 physical relations are created
|
||||
|
@@ -1,12 +1,12 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* async.c--
|
||||
* async.c
|
||||
* Asynchronous notification: NOTIFY, LISTEN, UNLISTEN
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.43 1998/12/15 12:45:50 vadim Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.44 1999/02/13 23:15:00 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -141,7 +141,7 @@ static void ClearPendingNotifies(void);
|
||||
|
||||
/*
|
||||
*--------------------------------------------------------------
|
||||
* Async_Notify --
|
||||
* Async_Notify
|
||||
*
|
||||
* This is executed by the SQL notify command.
|
||||
*
|
||||
@@ -184,7 +184,7 @@ Async_Notify(char *relname)
|
||||
|
||||
/*
|
||||
*--------------------------------------------------------------
|
||||
* Async_Listen --
|
||||
* Async_Listen
|
||||
*
|
||||
* This is executed by the SQL listen command.
|
||||
*
|
||||
@@ -283,7 +283,7 @@ Async_Listen(char *relname, int pid)
|
||||
|
||||
/*
|
||||
*--------------------------------------------------------------
|
||||
* Async_Unlisten --
|
||||
* Async_Unlisten
|
||||
*
|
||||
* This is executed by the SQL unlisten command.
|
||||
*
|
||||
@@ -332,7 +332,7 @@ Async_Unlisten(char *relname, int pid)
|
||||
|
||||
/*
|
||||
*--------------------------------------------------------------
|
||||
* Async_UnlistenAll --
|
||||
* Async_UnlistenAll
|
||||
*
|
||||
* Unlisten all relations for this backend.
|
||||
*
|
||||
@@ -378,7 +378,7 @@ Async_UnlistenAll()
|
||||
|
||||
/*
|
||||
*--------------------------------------------------------------
|
||||
* Async_UnlistenOnExit --
|
||||
* Async_UnlistenOnExit
|
||||
*
|
||||
* Clean up the pg_listener table at backend exit.
|
||||
*
|
||||
@@ -412,7 +412,7 @@ Async_UnlistenOnExit()
|
||||
|
||||
/*
|
||||
*--------------------------------------------------------------
|
||||
* AtCommit_Notify --
|
||||
* AtCommit_Notify
|
||||
*
|
||||
* This is called at transaction commit.
|
||||
*
|
||||
@@ -548,7 +548,7 @@ AtCommit_Notify()
|
||||
|
||||
/*
|
||||
*--------------------------------------------------------------
|
||||
* AtAbort_Notify --
|
||||
* AtAbort_Notify
|
||||
*
|
||||
* This is called at transaction abort.
|
||||
*
|
||||
@@ -568,7 +568,7 @@ AtAbort_Notify()
|
||||
|
||||
/*
|
||||
*--------------------------------------------------------------
|
||||
* Async_NotifyHandler --
|
||||
* Async_NotifyHandler
|
||||
*
|
||||
* This is the signal handler for SIGUSR2.
|
||||
*
|
||||
@@ -627,7 +627,7 @@ Async_NotifyHandler(SIGNAL_ARGS)
|
||||
|
||||
/*
|
||||
* --------------------------------------------------------------
|
||||
* EnableNotifyInterrupt --
|
||||
* EnableNotifyInterrupt
|
||||
*
|
||||
* This is called by the PostgresMain main loop just before waiting
|
||||
* for a frontend command. If we are truly idle (ie, *not* inside
|
||||
@@ -685,7 +685,7 @@ EnableNotifyInterrupt(void)
|
||||
|
||||
/*
|
||||
* --------------------------------------------------------------
|
||||
* DisableNotifyInterrupt --
|
||||
* DisableNotifyInterrupt
|
||||
*
|
||||
* This is called by the PostgresMain main loop just after receiving
|
||||
* a frontend command. Signal handler execution of inbound notifies
|
||||
@@ -701,7 +701,7 @@ DisableNotifyInterrupt(void)
|
||||
|
||||
/*
|
||||
* --------------------------------------------------------------
|
||||
* ProcessIncomingNotify --
|
||||
* ProcessIncomingNotify
|
||||
*
|
||||
* Deal with arriving NOTIFYs from other backends.
|
||||
* This is called either directly from the SIGUSR2 signal handler,
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* cluster.c--
|
||||
* cluster.c
|
||||
* Paul Brown's implementation of cluster index.
|
||||
*
|
||||
* I am going to use the rename function as a model for this in the
|
||||
@@ -14,7 +14,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/cluster.c,v 1.37 1999/02/03 21:16:02 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/cluster.c,v 1.38 1999/02/13 23:15:02 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
@@ -1,13 +1,13 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* command.c--
|
||||
* command.c
|
||||
* random postgres portal and utility support code
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.37 1999/02/08 14:14:08 wieck Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.38 1999/02/13 23:15:03 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* The PortalExecutorHeapMemory crap needs to be eliminated
|
||||
|
@@ -1,12 +1,12 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* copy.c--
|
||||
* copy.c
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.72 1999/02/07 16:17:10 wieck Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.73 1999/02/13 23:15:04 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
@@ -1,13 +1,13 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* creatinh.c--
|
||||
* creatinh.c
|
||||
* POSTGRES create/destroy relation with inheritance utility code.
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/creatinh.c,v 1.39 1999/02/03 21:16:03 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/creatinh.c,v 1.40 1999/02/13 23:15:05 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -39,7 +39,7 @@ static List *MergeAttributes(List *schema, List *supers, List **supconstr);
|
||||
static void StoreCatalogInheritance(Oid relationId, List *supers);
|
||||
|
||||
/* ----------------------------------------------------------------
|
||||
* DefineRelation --
|
||||
* DefineRelation
|
||||
* Creates a new relation.
|
||||
* ----------------------------------------------------------------
|
||||
*/
|
||||
@@ -145,7 +145,7 @@ DefineRelation(CreateStmt *stmt, char relkind)
|
||||
}
|
||||
|
||||
/*
|
||||
* RemoveRelation --
|
||||
* RemoveRelation
|
||||
* Deletes a new relation.
|
||||
*
|
||||
* Exceptions:
|
||||
@@ -164,7 +164,7 @@ RemoveRelation(char *name)
|
||||
|
||||
|
||||
/*
|
||||
* MergeAttributes --
|
||||
* MergeAttributes
|
||||
* Returns new schema given initial schema and supers.
|
||||
*
|
||||
*
|
||||
@@ -365,7 +365,7 @@ MergeAttributes(List *schema, List *supers, List **supconstr)
|
||||
}
|
||||
|
||||
/*
|
||||
* StoreCatalogInheritance --
|
||||
* StoreCatalogInheritance
|
||||
* Updates the system catalogs with proper inheritance information.
|
||||
*/
|
||||
static void
|
||||
|
@@ -1,13 +1,13 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* dbcommands.c--
|
||||
* dbcommands.c
|
||||
*
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/dbcommands.c,v 1.29 1999/01/17 06:18:17 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/dbcommands.c,v 1.30 1999/02/13 23:15:05 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
@@ -1,13 +1,13 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* defind.c--
|
||||
* defind.c
|
||||
* POSTGRES define, extend and remove index code.
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/defind.c,v 1.33 1999/02/03 21:16:04 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/defind.c,v 1.34 1999/02/13 23:15:05 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -53,7 +53,7 @@ static void NormIndexAttrs(List *attList, AttrNumber *attNumP,
|
||||
static char *GetDefaultOpClass(Oid atttypid);
|
||||
|
||||
/*
|
||||
* DefineIndex --
|
||||
* DefineIndex
|
||||
* Creates a new index.
|
||||
*
|
||||
* 'attributeList' is a list of IndexElem specifying either a functional
|
||||
@@ -208,7 +208,7 @@ DefineIndex(char *heapRelationName,
|
||||
|
||||
|
||||
/*
|
||||
* ExtendIndex --
|
||||
* ExtendIndex
|
||||
* Extends a partial index.
|
||||
*
|
||||
* Exceptions:
|
||||
@@ -545,7 +545,7 @@ GetDefaultOpClass(Oid atttypid)
|
||||
}
|
||||
|
||||
/*
|
||||
* RemoveIndex --
|
||||
* RemoveIndex
|
||||
* Deletes an index.
|
||||
*
|
||||
* Exceptions:
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* define.c--
|
||||
* define.c
|
||||
*
|
||||
* These routines execute some of the CREATE statements. In an earlier
|
||||
* version of Postgres, these were "define" statements.
|
||||
@@ -9,7 +9,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/define.c,v 1.26 1998/09/01 03:22:00 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/define.c,v 1.27 1999/02/13 23:15:06 momjian Exp $
|
||||
*
|
||||
* DESCRIPTION
|
||||
* The "DefineFoo" routines take the parse tree and pick out the
|
||||
@@ -202,7 +202,7 @@ interpret_AS_clause(const char *languageName, const char *as,
|
||||
|
||||
|
||||
/*
|
||||
* CreateFunction --
|
||||
* CreateFunction
|
||||
* Execute a CREATE FUNCTION utility statement.
|
||||
*
|
||||
*/
|
||||
@@ -346,7 +346,7 @@ CreateFunction(ProcedureStmt *stmt, CommandDest dest)
|
||||
|
||||
|
||||
/* --------------------------------
|
||||
* DefineOperator--
|
||||
* DefineOperator
|
||||
*
|
||||
* this function extracts all the information from the
|
||||
* parameter list generated by the parser and then has
|
||||
@@ -573,7 +573,7 @@ DefineAggregate(char *aggName, List *parameters)
|
||||
}
|
||||
|
||||
/*
|
||||
* DefineType --
|
||||
* DefineType
|
||||
* Registers a new type.
|
||||
*
|
||||
*/
|
||||
|
@@ -1,10 +1,10 @@
|
||||
/*
|
||||
* explain.c--
|
||||
* explain.c
|
||||
* Explain the query execution plan
|
||||
*
|
||||
* Copyright (c) 1994-5, Regents of the University of California
|
||||
*
|
||||
* $Id: explain.c,v 1.31 1999/02/09 17:02:43 momjian Exp $
|
||||
* $Id: explain.c,v 1.32 1999/02/13 23:15:06 momjian Exp $
|
||||
*
|
||||
*/
|
||||
#include <stdio.h>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* proclang.c--
|
||||
* proclang.c
|
||||
* PostgreSQL PROCEDURAL LANGUAGE support code.
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
|
@@ -1,13 +1,13 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* recipe.c--
|
||||
* recipe.c
|
||||
* routines for handling execution of Tioga recipes
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/recipe.c,v 1.27 1999/02/02 03:44:20 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/recipe.c,v 1.28 1999/02/13 23:15:07 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
@@ -1,13 +1,13 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* remove.c--
|
||||
* remove.c
|
||||
* POSTGRES remove (function | type | operator ) utilty code.
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/remove.c,v 1.31 1998/12/15 12:45:57 vadim Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/remove.c,v 1.32 1999/02/13 23:15:08 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -36,7 +36,7 @@
|
||||
#endif
|
||||
|
||||
/*
|
||||
* RemoveOperator --
|
||||
* RemoveOperator
|
||||
* Deletes an operator.
|
||||
*
|
||||
* Exceptions:
|
||||
@@ -288,7 +288,7 @@ RemoveType(char *typeName) /* type name to be removed */
|
||||
}
|
||||
|
||||
/*
|
||||
* RemoveFunction --
|
||||
* RemoveFunction
|
||||
* Deletes a function.
|
||||
*
|
||||
* Exceptions:
|
||||
|
@@ -1,13 +1,13 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* rename.c--
|
||||
* rename.c
|
||||
* renameatt() and renamerel() reside here.
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/rename.c,v 1.20 1999/02/02 03:44:20 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/rename.c,v 1.21 1999/02/13 23:15:09 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* sequence.c--
|
||||
* sequence.c
|
||||
* PostgreSQL sequences support code.
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
@@ -66,7 +66,7 @@ static void init_params(CreateSeqStmt *seq, Form_pg_sequence new);
|
||||
static int get_param(DefElem *def);
|
||||
|
||||
/*
|
||||
* DefineSequence --
|
||||
* DefineSequence
|
||||
* Creates a new sequence relation
|
||||
*/
|
||||
void
|
||||
@@ -464,7 +464,7 @@ init_sequence(char *caller, char *name)
|
||||
|
||||
|
||||
/*
|
||||
* CloseSequences --
|
||||
* CloseSequences
|
||||
* is calling by xact mgr at commit/abort.
|
||||
*/
|
||||
void
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* trigger.c--
|
||||
* trigger.c
|
||||
* PostgreSQL TRIGGERs support code.
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
|
@@ -1,11 +1,11 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* user.c--
|
||||
* user.c
|
||||
* use pg_exec_query to create a new user in the catalog
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: user.c,v 1.23 1998/12/15 12:46:00 vadim Exp $
|
||||
* $Id: user.c,v 1.24 1999/02/13 23:15:11 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
@@ -1,13 +1,13 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* vacuum.c--
|
||||
* vacuum.c
|
||||
* the postgres vacuum cleaner
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.94 1999/02/03 21:16:04 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.95 1999/02/13 23:15:11 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
@@ -1,11 +1,11 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* view.c--
|
||||
* view.c
|
||||
* use rewrite rules to construct views
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: view.c,v 1.31 1999/02/03 21:16:06 momjian Exp $
|
||||
* $Id: view.c,v 1.32 1999/02/13 23:15:12 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
Reference in New Issue
Block a user