1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-02 09:02:37 +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,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* catcache.c--
* catcache.c
* System catalog cache for tuples matching a key.
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/catcache.c,v 1.38 1999/02/03 21:17:30 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/catcache.c,v 1.39 1999/02/13 23:19:39 momjian Exp $
*
* Notes:
* XXX This needs to use exception.h to handle recovery when
@ -277,7 +277,7 @@ CatalogCacheSetId(CatCache *cacheInOutP, int id)
#endif
/* ----------------
* comphash --
* comphash
* Compute a hash value, somehow.
*
* XXX explain algorithm here.

View File

@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* fcache.c--
* fcache.c
* Code for the 'function cache' used in Oper and Func nodes....
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/fcache.c,v 1.20 1999/02/03 21:17:31 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/fcache.c,v 1.21 1999/02/13 23:19:40 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* inval.c--
* inval.c
* POSTGRES cache invalidation dispatcher code.
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/inval.c,v 1.20 1999/02/03 21:17:32 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/inval.c,v 1.21 1999/02/13 23:19:41 momjian Exp $
*
* Note - this code is real crufty...
*
@ -90,7 +90,7 @@ Oid MyAMOPRelationId = InvalidOid;
*/
/* --------------------------------
* InvalidationEntryAllocate--
* InvalidationEntryAllocate
* Allocates an invalidation entry.
* --------------------------------
*/
@ -106,7 +106,7 @@ InvalidationEntryAllocate(uint16 size)
}
/* --------------------------------
* LocalInvalidRegister --
* LocalInvalidRegister
* Returns a new local cache invalidation state containing a new entry.
* --------------------------------
*/
@ -123,7 +123,7 @@ LocalInvalidRegister(LocalInvalid invalid,
}
/* --------------------------------
* LocalInvalidInvalidate--
* LocalInvalidInvalidate
* Processes, then frees all entries in a local cache
* invalidation state.
* --------------------------------
@ -504,7 +504,7 @@ InitLocalInvalidateData()
/*
* DiscardInvalid --
* DiscardInvalid
* Causes the invalidated cache state to be discarded.
*
* Note:
@ -527,7 +527,7 @@ DiscardInvalid()
}
/*
* RegisterInvalid --
* RegisterInvalid
* Causes registration of invalidated state with other backends iff true.
*
* Note:
@ -559,7 +559,7 @@ RegisterInvalid(bool send)
}
/*
* RelationIdInvalidateHeapTuple --
* RelationIdInvalidateHeapTuple
* Causes the given tuple in a relation to be invalidated.
*
* Note:

View File

@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* lsyscache.c--
* lsyscache.c
* Routines to access information within system caches
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/lsyscache.c,v 1.23 1999/02/03 21:17:33 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/lsyscache.c,v 1.24 1999/02/13 23:19:42 momjian Exp $
*
* NOTES
* Eventually, the index information should go through here, too.
@ -253,7 +253,7 @@ op_mergejoinable(Oid opno, Oid ltype, Oid rtype, Oid *leftOp, Oid *rightOp)
}
/*
* op_hashjoinable--
* op_hashjoinable
*
* Returns the hash operator corresponding to a hashjoinable operator,
* or nil if the operator is not hashjoinable.

View File

@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* rel.c--
* rel.c
* POSTGRES relation descriptor code.
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/rel.c,v 1.3 1997/09/08 21:48:53 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/rel.c,v 1.4 1999/02/13 23:19:43 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -29,7 +29,7 @@
*/
/*
* RelationGetIndexStrategy --
* RelationGetIndexStrategy
* Returns index strategy for a relation.
*
* Note:
@ -43,7 +43,7 @@ RelationGetIndexStrategy(Relation relation)
}
/*
* RelationSetIndexSupport --
* RelationSetIndexSupport
* Sets index strategy and support info for a relation.
*
* Note:

View File

@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* relcache.c--
* relcache.c
* POSTGRES relation descriptor cache code
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.57 1999/02/03 21:17:34 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.58 1999/02/13 23:19:44 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* syscache.c--
* syscache.c
* System cache management routines
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.23 1999/02/03 21:17:35 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.24 1999/02/13 23:19:45 momjian Exp $
*
* NOTES
* These routines allow the parser/planner/executor to perform
@ -392,7 +392,7 @@ static int32 SysCacheSize = lengthof(cacheinfo);
/*
* zerocaches--
* zerocaches
*
* Make sure the SysCache structure is zero'd.
*/
@ -439,7 +439,7 @@ InitCatalogCache()
}
/*
* SearchSysCacheTupleCopy--
* SearchSysCacheTupleCopy
*
* THis is like SearchSysCacheTuple, except it returns a copy of the tuple
* that the user is required to pfree().
@ -462,7 +462,7 @@ SearchSysCacheTupleCopy(int cacheId, /* cache selection code */
/*
* SearchSysCacheTuple--
* SearchSysCacheTuple
*
* A layer on top of SearchSysCache that does the initialization and
* key-setting for you.
@ -519,7 +519,7 @@ SearchSysCacheTuple(int cacheId,/* cache selection code */
}
/*
* SearchSysCacheStruct--
* SearchSysCacheStruct
* Fills 's' with the information retrieved by calling SearchSysCache()
* with arguments key1...key4. Retrieves only the portion of the tuple
* which is not variable-length.
@ -553,7 +553,7 @@ SearchSysCacheStruct(int cacheId, /* cache selection code */
/*
* SearchSysCacheGetAttribute--
* SearchSysCacheGetAttribute
* Returns the attribute corresponding to 'attributeNumber' for
* a given cached tuple.
*
@ -647,7 +647,7 @@ SearchSysCacheGetAttribute(int cacheId,
}
/*
* TypeDefaultRetrieve--
* TypeDefaultRetrieve
*
* Given a type OID, return the typdefault field associated with that
* type. The typdefault is returned as the car of a dotted pair which

View File

@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* temprel.c--
* temprel.c
* POSTGRES temporary relation handling
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/temprel.c,v 1.1 1999/02/02 03:45:03 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/temprel.c,v 1.2 1999/02/13 23:19:45 momjian Exp $
*
*-------------------------------------------------------------------------
*/