1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-15 03:41:20 +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 @@
/*-------------------------------------------------------------------------
*
* acl.c--
* acl.c
* Basic access control list data structures manipulation routines.
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/acl.c,v 1.32 1999/02/03 21:17:24 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/acl.c,v 1.33 1999/02/13 23:18:58 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* arrayfuncs.c--
* arrayfuncs.c
* Special functions for arrays.
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/arrayfuncs.c,v 1.37 1999/02/03 21:17:26 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/arrayfuncs.c,v 1.38 1999/02/13 23:19:00 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -244,7 +244,7 @@ array_in(char *string, /* input array in external form */
}
/*-----------------------------------------------------------------------------
* _ArrayCount --
* _ArrayCount
* Counts the number of dimensions and the *dim array for an array string.
* The syntax for array input is C-like nested curly braces
*-----------------------------------------------------------------------------

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* arrayutils.c--
* arrayutils.c
* This file contains some support routines required for array functions.
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/arrayutils.c,v 1.6 1998/09/01 03:25:47 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/arrayutils.c,v 1.7 1999/02/13 23:19:02 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* bool.c--
* bool.c
* Functions for the built-in type "bool".
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/bool.c,v 1.15 1998/09/01 03:25:48 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/bool.c,v 1.16 1999/02/13 23:19:04 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,6 +1,6 @@
/*-------------------------------------------------------------------------
*
* char.c--
* char.c
* Functions for the built-in type "char".
* Functions for the built-in type "cid".
*
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/char.c,v 1.20 1998/12/13 23:35:48 thomas Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/char.c,v 1.21 1999/02/13 23:19:05 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,12 +1,12 @@
/*-------------------------------------------------------------------------
*
* chunk.c--
* chunk.c
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/chunk.c,v 1.18 1998/09/01 04:32:28 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/chunk.c,v 1.19 1999/02/13 23:19:06 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -115,7 +115,7 @@ _ChunkArray(int fd,
}
/*--------------------------------------------------------------------------
* GetChunkSize --
* GetChunkSize
* given an access pattern and array dimensionality etc, this program
* returns the dimensions of the chunk in "d"
*-----------------------------------------------------------------------
@@ -160,7 +160,7 @@ GetChunkSize(FILE *fd,
}
/*-------------------------------------------------------------------------
* _FindBestChunk --
* _FindBestChunk
* This routine does most of the number crunching to compute the
* optimal chunk shape.
* Called by GetChunkSize
@@ -213,7 +213,7 @@ _FindBestChunk(int size,
}
/*----------------------------------------------------------------------
* get_next --
* get_next
* Called by _GetBestChunk to get the next tuple in the lexicographic order
*---------------------------------------------------------------------
*/
@@ -420,7 +420,7 @@ seek_and_read(int pos, int size, char *buff, int fp, int from)
#endif /* LOARRAY */
/*----------------------------------------------------------------------------
* _ReadChunkArray --
* _ReadChunkArray
* returns the subarray specified bu the range indices "st" and "endp"
* from the chunked array stored in file "fp"
*---------------------------------------------------------------------------
@@ -620,7 +620,7 @@ _ReadChunkArray(int *st,
}
/*------------------------------------------------------------------------
* _ReadChunkArray1El --
* _ReadChunkArray1El
* returns one element of the chunked array as specified by the index "st"
* the chunked file descriptor is "fp"
*-------------------------------------------------------------------------

View File

@@ -1,6 +1,6 @@
/*-------------------------------------------------------------------------
*
* date.c--
* date.c
* Utilities for the built-in type "AbsoluteTime" (defined in nabstime).
* Functions for the built-in type "RelativeTime".
* Functions for the built-in type "TimeInterval".
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/date.c,v 1.28 1998/10/08 18:30:05 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/date.c,v 1.29 1999/02/13 23:19:07 momjian Exp $
*
* NOTES
* This code is actually (almost) unused.

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* datetime.c--
* datetime.c
* implements DATE and TIME data types specified in SQL-92 standard
*
* Copyright (c) 1994-5, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.27 1999/01/20 16:29:39 thomas Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.28 1999/02/13 23:19:08 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,12 +1,12 @@
/*-------------------------------------------------------------------------
*
* datum.c--
* datum.c
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/datum.c,v 1.11 1998/09/01 03:25:55 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/datum.c,v 1.12 1999/02/13 23:19:09 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* dt.c--
* dt.c
* Functions for the built-in type "dt".
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/dt.c,v 1.64 1999/02/13 05:34:24 thomas Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/dt.c,v 1.65 1999/02/13 23:19:11 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* filename.c--
* filename.c
*
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/filename.c,v 1.16 1998/09/01 03:25:58 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/filename.c,v 1.17 1999/02/13 23:19:13 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* float.c--
* float.c
* Functions for the built-in floating-point types.
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.39 1999/01/24 00:12:59 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.40 1999/02/13 23:19:14 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* geo_ops.c--
* geo_ops.c
* 2D geometric operations
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.39 1998/10/29 18:11:28 thomas Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.40 1999/02/13 23:19:16 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,6 +1,6 @@
/*-------------------------------------------------------------------------
*
* geo-selfuncs.c--
* geo-selfuncs.c
* Selectivity routines registered in the operator catalog in the
* "oprrest" and "oprjoin" attributes.
*
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_selfuncs.c,v 1.6 1998/09/01 03:26:02 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_selfuncs.c,v 1.7 1999/02/13 23:19:18 momjian Exp $
*
* XXX These are totally bogus.
*

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* int.c--
* int.c
* Functions for the built-in integer types.
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/int.c,v 1.19 1998/09/22 20:28:09 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/int.c,v 1.20 1999/02/13 23:19:20 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,6 +1,6 @@
/*-------------------------------------------------------------------------
*
* int8.c--
* int8.c
* Internal 64-bit integer operations
*
*-------------------------------------------------------------------------

View File

@@ -1,6 +1,6 @@
/*-------------------------------------------------------------------------
*
* like.c--
* like.c
* like expression handling code.
*
* Copyright (c) 1994, Regents of the University of California
@@ -111,7 +111,7 @@ textnlike(struct varlena * s, struct varlena * p)
}
/* $Revision: 1.20 $
/* $Revision: 1.21 $
** "like.c" A first attempt at a LIKE operator for Postgres95.
**
** Originally written by Rich $alz, mirror!rs, Wed Nov 26 19:03:17 EST 1986.

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* misc.c--
* misc.c
*
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/misc.c,v 1.15 1998/09/01 04:32:39 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/misc.c,v 1.16 1999/02/13 23:19:23 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,10 +1,10 @@
/*
* nabstime.c--
* nabstime.c
* parse almost any absolute date getdate(3) can (& some it can't)
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: nabstime.c,v 1.51 1998/12/31 16:30:59 thomas Exp $
* $Id: nabstime.c,v 1.52 1999/02/13 23:19:24 momjian Exp $
*
*/
#include <stdio.h>

View File

@@ -1,6 +1,6 @@
/*-------------------------------------------------------------------------
*
* name.c--
* name.c
* Functions for the built-in type "name".
* name replaces char16 and is carefully implemented so that it
* is a string of length NAMEDATALEN. DO NOT use hard-coded constants anywhere
@@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/name.c,v 1.16 1998/10/08 18:30:11 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/name.c,v 1.17 1999/02/13 23:19:25 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* not_in.c--
* not_in.c
* Executes the "not_in" operator for any data type
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/not_in.c,v 1.13 1998/09/01 04:32:41 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/not_in.c,v 1.14 1999/02/13 23:19:26 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,11 +1,11 @@
/* ----------
* numeric.c -
* numeric.c
*
* An exact numeric data type for the Postgres database system
*
* 1998 Jan Wieck
*
* $Header: /cvsroot/pgsql/src/backend/utils/adt/numeric.c,v 1.9 1999/01/05 11:10:45 wieck Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/numeric.c,v 1.10 1999/02/13 23:19:28 momjian Exp $
*
* ----------
*/

View File

@@ -1,6 +1,6 @@
/*-------------------------------------------------------------------------
*
* numutils.c--
* numutils.c
* utility functions for I/O of built-in numeric types.
*
* integer: itoa, ltoa
@@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/numutils.c,v 1.28 1998/10/02 01:22:42 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/numutils.c,v 1.29 1999/02/13 23:19:29 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* oid.c--
* oid.c
* Functions for the built-in type Oid.
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/oid.c,v 1.21 1998/10/29 18:07:03 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/oid.c,v 1.22 1999/02/13 23:19:29 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* regexp.c--
* regexp.c
* regular expression handling code.
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/regexp.c,v 1.21 1999/02/03 21:17:28 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/regexp.c,v 1.22 1999/02/13 23:19:30 momjian Exp $
*
* Alistair Crooks added the code for the regex caching
* agc - cached the regular expressions used - there's a good chance

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* regproc.c--
* regproc.c
* Functions for the built-in type "RegProcedure".
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/regproc.c,v 1.33 1998/11/27 19:52:22 vadim Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/regproc.c,v 1.34 1999/02/13 23:19:31 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,6 +1,6 @@
/*-------------------------------------------------------------------------
*
* selfuncs.c--
* selfuncs.c
* Selectivity functions for system catalogs and builtin types
*
* These routines are registered in the operator catalog in the
@@ -12,7 +12,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.24 1999/02/05 17:47:29 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.25 1999/02/13 23:19:32 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,6 +1,6 @@
/*-------------------------------------------------------------------------
*
* sets.c--
* sets.c
* Functions for sets, which are defined by queries.
* Example: a set is defined as being the result of the query
* retrieve (X.all)
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/sets.c,v 1.20 1998/12/15 12:46:34 vadim Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/sets.c,v 1.21 1999/02/13 23:19:33 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* tid.c--
* tid.c
* Functions for the built-in type tuple id
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/tid.c,v 1.5 1998/02/26 04:37:22 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/tid.c,v 1.6 1999/02/13 23:19:34 momjian Exp $
*
* NOTES
* input routine largely stolen from boxin().

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* varchar.c--
* varchar.c
* Functions for the built-in type char() and varchar().
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/varchar.c,v 1.42 1998/10/06 03:02:20 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/varchar.c,v 1.43 1999/02/13 23:19:35 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* varlena.c--
* varlena.c
* Functions for the variable-length built-in types.
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/varlena.c,v 1.46 1998/12/13 23:35:48 thomas Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/varlena.c,v 1.47 1999/02/13 23:19:36 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,11 +1,11 @@
/*-------------------------------------------------------------------------
*
* version.c--
* version.c
* Returns the version string
*
* IDENTIFICATION
*
* $Header: /cvsroot/pgsql/src/backend/utils/adt/version.c,v 1.4 1998/10/12 05:09:55 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/version.c,v 1.5 1999/02/13 23:19:36 momjian Exp $
*
*-------------------------------------------------------------------------
*/

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 $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* assert.c--
* assert.c
* Assert code.
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/error/assert.c,v 1.12 1998/09/01 04:33:05 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/error/assert.c,v 1.13 1999/02/13 23:19:47 momjian Exp $
*
* NOTE
* This should eventually work with elog(), dlog(), etc.

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* elog.c--
* elog.c
* error logger
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/error/elog.c,v 1.38 1999/01/23 22:27:29 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/error/elog.c,v 1.39 1999/02/13 23:19:47 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -53,7 +53,7 @@ static int Err_file = -1;
static int ElogDebugIndentLevel = 0;
/*
* elog --
* elog
* Old error logging function.
*/
void
@@ -165,7 +165,7 @@ elog(int lev, const char *fmt,...)
* front-end program, write to it first. This is important because
* there's a bug in the socket code on ultrix. If the front end has
* gone away (so the channel to it has been closed at the other end),
* then writing here can cause this backend to exit without warning --
* then writing here can cause this backend to exit without warning
* that is, write() does an exit(). In this case, our only hope of
* finding out what's going on is if Err_file was set to some disk
* log. This is a major pain.

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* exc.c--
* exc.c
* POSTGRES exception handling code.
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/exc.c,v 1.23 1998/09/01 04:33:08 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/exc.c,v 1.24 1999/02/13 23:19:48 momjian Exp $
*
* NOTE
* XXX this code needs improvement--check for state violations and
@@ -48,7 +48,7 @@ extern char *ProgramName;
*/
/*
* EnableExceptionHandling --
* EnableExceptionHandling
* Enables/disables the exception handling system.
*
* Note:

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* excabort.c--
* excabort.c
* Default exception abort code.
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/excabort.c,v 1.5 1998/05/29 17:00:16 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/excabort.c,v 1.6 1999/02/13 23:19:48 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* excid.c--
* excid.c
* POSTGRES known exception identifier code.
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/excid.c,v 1.4 1997/09/08 02:31:31 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/excid.c,v 1.5 1999/02/13 23:19:48 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -22,19 +22,19 @@
/*
* FailedAssertion --
* FailedAssertion
* Indicates an Assert(...) failed.
*/
Exception FailedAssertion = {"Failed Assertion"};
/*
* BadState --
* BadState
* Indicates a function call request is inconsistent with module state.
*/
Exception BadState = {"Bad State for Function Call"};
/*
* BadArg --
* BadArg
* Indicates a function call argument or arguments is out-of-bounds.
*/
Exception BadArg = {"Bad Argument to Function Call"};
@@ -44,19 +44,19 @@ Exception BadArg = {"Bad Argument to Function Call"};
*****************************************************************************/
/*
* BadAllocSize --
* BadAllocSize
* Indicates that an allocation request is of unreasonable size.
*/
Exception BadAllocSize = {"Too Large Allocation Request"};
/*
* ExhaustedMemory --
* ExhaustedMemory
* Indicates an dynamic memory allocation failed.
*/
Exception ExhaustedMemory = {"Memory Allocation Failed"};
/*
* Unimplemented --
* Unimplemented
* Indicates a function call request requires unimplemented code.
*/
Exception Unimplemented = {"Unimplemented Functionality"};

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* format.c--
* format.c
* a wrapper around code that does what vsprintf does.
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/format.c,v 1.9 1999/01/17 03:04:52 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/format.c,v 1.10 1999/02/13 23:19:49 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* dfmgr.c--
* dfmgr.c
* Dynamic function manager code.
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/fmgr/dfmgr.c,v 1.22 1999/02/07 22:06:01 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/fmgr/dfmgr.c,v 1.23 1999/02/13 23:19:51 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* fmgr.c--
* fmgr.c
* Interface routines for the table-driven function manager.
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/fmgr/fmgr.c,v 1.21 1999/02/03 21:17:35 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/fmgr/fmgr.c,v 1.22 1999/02/13 23:19:52 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* dynahash.c--
* dynahash.c
* dynamic hashing
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/hash/dynahash.c,v 1.17 1999/02/03 21:17:38 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/hash/dynahash.c,v 1.18 1999/02/13 23:19:55 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* hashfn.c--
* hashfn.c
*
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/hash/hashfn.c,v 1.8 1998/09/01 03:26:47 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/hash/hashfn.c,v 1.9 1999/02/13 23:19:56 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* enbl.c--
* enbl.c
* POSTGRES module enable and disable support code.
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/init/Attic/enbl.c,v 1.5 1999/02/02 03:45:04 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/init/Attic/enbl.c,v 1.6 1999/02/13 23:19:59 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -15,7 +15,7 @@
#include "utils/module.h" /* where the declarations go */
/*
* BypassEnable --
* BypassEnable
* False iff enable/disable processing is required given on and "*countP."
*
* Note:

View File

@@ -1,12 +1,12 @@
/*-------------------------------------------------------------------------
*
* findbe.c --
* findbe.c
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/init/Attic/findbe.c,v 1.12 1998/09/01 04:33:14 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/init/Attic/findbe.c,v 1.13 1999/02/13 23:20:00 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* globals.c--
* globals.c
* global variable declarations
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/init/globals.c,v 1.26 1998/10/16 06:05:16 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/init/globals.c,v 1.27 1999/02/13 23:20:00 momjian Exp $
*
* NOTES
* Globals used all over the place should be declared here and not

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* miscinit.c--
* miscinit.c
* miscellanious initialization support stuff
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/init/miscinit.c,v 1.25 1999/01/17 06:18:54 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/init/miscinit.c,v 1.26 1999/02/13 23:20:01 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -39,7 +39,7 @@
#include "storage/fd.h" /* for O_ */
/*
* EnableAbortEnvVarName --
* EnableAbortEnvVarName
* Enables system abort iff set to a non-empty string in environment.
*/
#define EnableAbortEnvVarName "POSTGRESABORT"
@@ -68,7 +68,7 @@ unsigned char RecodeBackTable[128];
*/
/*
* ExitPostgres --
* ExitPostgres
* Exit POSTGRES with a status code.
*
* Note:
@@ -88,7 +88,7 @@ ExitPostgres(ExitStatus status)
}
/*
* AbortPostgres --
* AbortPostgres
* Abort POSTGRES dumping core.
*
* Note:
@@ -148,7 +148,7 @@ static ProcessingMode Mode = NoProcessing;
#ifdef NOT_USED
/*
* IsNoProcessingMode --
* IsNoProcessingMode
* True iff processing mode is NoProcessing.
*/
bool
@@ -159,7 +159,7 @@ IsNoProcessingMode()
#endif
/*
* IsBootstrapProcessingMode --
* IsBootstrapProcessingMode
* True iff processing mode is BootstrapProcessing.
*/
bool
@@ -169,7 +169,7 @@ IsBootstrapProcessingMode()
}
/*
* IsInitProcessingMode --
* IsInitProcessingMode
* True iff processing mode is InitProcessing.
*/
bool
@@ -179,7 +179,7 @@ IsInitProcessingMode()
}
/*
* IsNormalProcessingMode --
* IsNormalProcessingMode
* True iff processing mode is NormalProcessing.
*/
bool
@@ -189,7 +189,7 @@ IsNormalProcessingMode()
}
/*
* SetProcessingMode --
* SetProcessingMode
* Sets mode of processing as specified.
*
* Exceptions:

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* postinit.c--
* postinit.c
* postgres initialization utilities
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.36 1999/01/17 06:18:55 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.37 1999/02/13 23:20:02 momjian Exp $
*
* NOTES
* InitPostgres() is the function called from PostgresMain
@@ -143,7 +143,7 @@ InitMyDatabaseInfo(char *name)
/*
* DoChdirAndInitDatabaseNameAndPath --
* DoChdirAndInitDatabaseNameAndPath
* Set current directory to the database directory for the database
* named <name>.
* Also set global variables DatabasePath and DatabaseName to those
@@ -415,7 +415,7 @@ InitStdio()
}
/* --------------------------------
* InitPostgres --
* InitPostgres
* Initialize POSTGRES.
*
* Note:

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* database.c--
* database.c
* miscellanious initialization support stuff
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/misc/Attic/database.c,v 1.22 1999/01/17 06:18:58 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/misc/Attic/database.c,v 1.23 1999/02/13 23:20:03 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,6 +1,6 @@
/*-------------------------------------------------------------------------
*
* superuser.c--
* superuser.c
*
* The superuser() function. Determines if user has superuser privilege.
*
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/misc/superuser.c,v 1.7 1998/09/01 04:33:32 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/misc/superuser.c,v 1.8 1999/02/13 23:20:06 momjian Exp $
*
* DESCRIPTION
* See superuser().

View File

@@ -1,6 +1,6 @@
/*-------------------------------------------------------------------------
*
* trace.c--
* trace.c
*
* Conditional trace ans logging functions.
*

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* aset.c--
* aset.c
* Allocation set definitions.
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/aset.c,v 1.13 1999/02/07 13:37:56 wieck Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/aset.c,v 1.14 1999/02/13 23:20:09 momjian Exp $
*
* NOTE:
* This is a new (Feb. 05, 1999) implementation of the allocation set
@@ -88,7 +88,7 @@ AllocSetFreeIndex(Size size)
*/
/*
* AllocSetInit --
* AllocSetInit
* Initializes given allocation set.
*
* Note:
@@ -116,7 +116,7 @@ AllocSetInit(AllocSet set, AllocMode mode, Size limit)
/*
* AllocSetReset --
* AllocSetReset
* Frees memory which is allocated in the given set.
*
* Exceptions:
@@ -141,7 +141,7 @@ AllocSetReset(AllocSet set)
}
/*
* AllocSetContains --
* AllocSetContains
* True iff allocation set contains given allocation element.
*
* Exceptions:
@@ -158,7 +158,7 @@ AllocSetContains(AllocSet set, AllocPointer pointer)
}
/*
* AllocSetAlloc --
* AllocSetAlloc
* Returns pointer to allocated memory of given size; memory is added
* to the set.
*
@@ -273,7 +273,7 @@ AllocSetAlloc(AllocSet set, Size size)
}
/*
* AllocSetFree --
* AllocSetFree
* Frees allocated memory; memory is removed from the set.
*
* Exceptions:
@@ -299,7 +299,7 @@ AllocSetFree(AllocSet set, AllocPointer pointer)
}
/*
* AllocSetRealloc --
* AllocSetRealloc
* Returns new pointer to allocated memory of given size; this memory
* is added to the set. Memory associated with given pointer is copied
* into the new memory, and the old memory is freed.
@@ -342,7 +342,7 @@ AllocSetRealloc(AllocSet set, AllocPointer pointer, Size size)
}
/*
* AllocSetDump --
* AllocSetDump
* Displays allocated set.
*/
void

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* mcxt.c--
* mcxt.c
* POSTGRES memory context code.
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/mcxt.c,v 1.11 1999/02/06 16:50:26 wieck Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/mcxt.c,v 1.12 1999/02/13 23:20:10 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -54,7 +54,7 @@ static OrderedSetData ActiveGlobalMemorySetData; /* uninitialized */
#define PSIZESPACE(LEN) ((LEN) + sizeof (int32))
/*
* AllocSizeIsValid --
* AllocSizeIsValid
* True iff 0 < size and size <= MaxAllocSize.
*/
#define AllocSizeIsValid(size) (0 < (size) && (size) <= MaxAllocSize)
@@ -64,7 +64,7 @@ static OrderedSetData ActiveGlobalMemorySetData; /* uninitialized */
*****************************************************************************/
/*
* CurrentMemoryContext --
* CurrentMemoryContext
* Memory context for general global allocations.
*/
MemoryContext CurrentMemoryContext = NULL;
@@ -113,7 +113,7 @@ static struct GlobalMemoryData TopGlobalMemoryData = {
};
/*
* TopMemoryContext --
* TopMemoryContext
* Memory context for general global allocations.
*
* Note:
@@ -131,7 +131,7 @@ MemoryContext TopMemoryContext = (MemoryContext) &TopGlobalMemoryData;
*/
/*
* EnableMemoryContext --
* EnableMemoryContext
* Enables/disables memory management and global contexts.
*
* Note:
@@ -207,7 +207,7 @@ EnableMemoryContext(bool on)
}
/*
* MemoryContextAlloc --
* MemoryContextAlloc
* Returns pointer to aligned allocated memory in the given context.
*
* Note:
@@ -231,7 +231,7 @@ MemoryContextAlloc(MemoryContext context, Size size)
}
/*
* MemoryContextFree --
* MemoryContextFree
* Frees allocated memory referenced by pointer in the given context.
*
* Note:
@@ -252,7 +252,7 @@ MemoryContextFree(MemoryContext context, Pointer pointer)
}
/*
* MemoryContextRelloc --
* MemoryContextRelloc
* Returns pointer to aligned allocated memory in the given context.
*
* Note:
@@ -278,7 +278,7 @@ MemoryContextRealloc(MemoryContext context,
}
/*
* MemoryContextGetName --
* MemoryContextGetName
* Returns pointer to aligned allocated memory in the given context.
*
* Note:
@@ -301,7 +301,7 @@ MemoryContextGetName(MemoryContext context)
#endif
/*
* PointerGetAllocSize --
* PointerGetAllocSize
* Returns size of aligned allocated memory given pointer to it.
*
* Note:
@@ -324,7 +324,7 @@ PointerGetAllocSize(Pointer pointer)
#endif
/*
* MemoryContextSwitchTo --
* MemoryContextSwitchTo
* Returns the current context; installs the given context.
*
* Note:
@@ -351,7 +351,7 @@ MemoryContextSwitchTo(MemoryContext context)
* External Functions
*/
/*
* CreateGlobalMemory --
* CreateGlobalMemory
* Returns new global memory context.
*
* Note:
@@ -385,7 +385,7 @@ CreateGlobalMemory(char *name) /* XXX MemoryContextName */
}
/*
* GlobalMemoryDestroy --
* GlobalMemoryDestroy
* Destroys given global memory context.
*
* Exceptions:
@@ -413,7 +413,7 @@ GlobalMemoryDestroy(GlobalMemory context)
*****************************************************************************/
/*
* GlobalMemoryAlloc --
* GlobalMemoryAlloc
* Returns pointer to aligned space in the global context.
*
* Exceptions:
@@ -426,7 +426,7 @@ GlobalMemoryAlloc(GlobalMemory this, Size size)
}
/*
* GlobalMemoryFree --
* GlobalMemoryFree
* Frees allocated memory in the global context.
*
* Exceptions:
@@ -441,7 +441,7 @@ GlobalMemoryFree(GlobalMemory this,
}
/*
* GlobalMemoryRealloc --
* GlobalMemoryRealloc
* Returns pointer to aligned space in the global context.
*
* Note:
@@ -461,7 +461,7 @@ GlobalMemoryRealloc(GlobalMemory this,
}
/*
* GlobalMemoryGetName --
* GlobalMemoryGetName
* Returns name string for context.
*
* Exceptions:
@@ -474,7 +474,7 @@ GlobalMemoryGetName(GlobalMemory this)
}
/*
* GlobalMemoryDump --
* GlobalMemoryDump
* Dumps global memory context for debugging.
*
* Exceptions:
@@ -499,7 +499,7 @@ GlobalMemoryDump(GlobalMemory this)
}
/*
* DumpGlobalMemories --
* DumpGlobalMemories
* Dumps all global memory contexts for debugging.
*
* Exceptions:

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* oset.c--
* oset.c
* Fixed format ordered set definitions.
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/Attic/oset.c,v 1.10 1999/01/17 03:04:53 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/Attic/oset.c,v 1.11 1999/02/13 23:20:10 momjian Exp $
*
* NOTE
* XXX This is a preliminary implementation which lacks fail-fast
@@ -24,7 +24,7 @@ static void OrderedElemPush(OrderedElem elem);
static void OrderedElemPushHead(OrderedElem elem);
/*
* OrderedElemGetBase --
* OrderedElemGetBase
* Returns base of enclosing structure.
*/
static Pointer
@@ -37,7 +37,7 @@ OrderedElemGetBase(OrderedElem elem)
}
/*
* OrderedSetInit --
* OrderedSetInit
*/
void
OrderedSetInit(OrderedSet set, Offset offset)
@@ -49,7 +49,7 @@ OrderedSetInit(OrderedSet set, Offset offset)
}
/*
* OrderedSetContains --
* OrderedSetContains
* True iff ordered set contains given element.
*/
bool
@@ -59,7 +59,7 @@ OrderedSetContains(OrderedSet set, OrderedElem elem)
}
/*
* OrderedSetGetHead --
* OrderedSetGetHead
*/
Pointer
OrderedSetGetHead(OrderedSet set)
@@ -73,7 +73,7 @@ OrderedSetGetHead(OrderedSet set)
}
/*
* OrderedSetGetTail --
* OrderedSetGetTail
*/
#ifdef NOT_USED
Pointer
@@ -90,7 +90,7 @@ OrderedSetGetTail(OrderedSet set)
#endif
/*
* OrderedElemGetPredecessor --
* OrderedElemGetPredecessor
*/
Pointer
OrderedElemGetPredecessor(OrderedElem elem)
@@ -102,7 +102,7 @@ OrderedElemGetPredecessor(OrderedElem elem)
}
/*
* OrderedElemGetSuccessor --
* OrderedElemGetSuccessor
*/
Pointer
OrderedElemGetSuccessor(OrderedElem elem)
@@ -114,7 +114,7 @@ OrderedElemGetSuccessor(OrderedElem elem)
}
/*
* OrderedElemPop --
* OrderedElemPop
*/
void
OrderedElemPop(OrderedElem elem)
@@ -127,7 +127,7 @@ OrderedElemPop(OrderedElem elem)
}
/*
* OrderedElemPushInto --
* OrderedElemPushInto
*/
void
OrderedElemPushInto(OrderedElem elem, OrderedSet set)
@@ -140,7 +140,7 @@ OrderedElemPushInto(OrderedElem elem, OrderedSet set)
}
/*
* OrderedElemPush --
* OrderedElemPush
*/
static void
OrderedElemPush(OrderedElem elem)
@@ -149,7 +149,7 @@ OrderedElemPush(OrderedElem elem)
}
/*
* OrderedElemPushHead --
* OrderedElemPushHead
*/
static void
OrderedElemPushHead(OrderedElem elem)

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* palloc.c--
* palloc.c
* POSTGRES memory allocator code.
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/Attic/palloc.c,v 1.10 1999/02/06 16:50:27 wieck Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/Attic/palloc.c,v 1.11 1999/02/13 23:20:11 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* portalmem.c--
* portalmem.c
* backend portal memory context management stuff
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/portalmem.c,v 1.17 1999/02/06 16:50:28 wieck Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/portalmem.c,v 1.18 1999/02/13 23:20:12 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -50,7 +50,7 @@
*
* Here is an old comment taken from nodes/memnodes.h
*
* MemoryContext --
* MemoryContext
* A logical context in which memory allocations occur.
*
* The types of memory contexts can be thought of as members of the
@@ -517,7 +517,7 @@ DumpPortals()
* ----------------------------------------------------------------
*/
/*
* EnablePortalManager --
* EnablePortalManager
* Enables/disables the portal management module.
*/
void
@@ -579,7 +579,7 @@ EnablePortalManager(bool on)
}
/*
* GetPortalByName --
* GetPortalByName
* Returns a portal given a portal name; returns blank portal given
* NULL; returns invalid portal if portal not found.
*
@@ -606,7 +606,7 @@ GetPortalByName(char *name)
}
/*
* BlankPortalAssignName --
* BlankPortalAssignName
* Returns former blank portal as portal with given name.
*
* Side effect:
@@ -659,7 +659,7 @@ BlankPortalAssignName(char *name) /* XXX PortalName */
}
/*
* PortalSetQuery --
* PortalSetQuery
* Attaches a "query" to portal.
*
* Exceptions:
@@ -686,7 +686,7 @@ PortalSetQuery(Portal portal,
}
/*
* PortalGetQueryDesc --
* PortalGetQueryDesc
* Returns query attached to portal.
*
* Exceptions:
@@ -703,7 +703,7 @@ PortalGetQueryDesc(Portal portal)
}
/*
* PortalGetState --
* PortalGetState
* Returns state attached to portal.
*
* Exceptions:
@@ -720,7 +720,7 @@ PortalGetState(Portal portal)
}
/*
* CreatePortal --
* CreatePortal
* Returns a new portal given a name.
*
* Note:
@@ -784,7 +784,7 @@ CreatePortal(char *name) /* XXX PortalName */
}
/*
* PortalDestroy --
* PortalDestroy
* Destroys portal.
*
* Exceptions:
@@ -836,7 +836,7 @@ PortalDestroy(Portal *portalP)
}
/* ----------------
* PortalResetHeapMemory --
* PortalResetHeapMemory
* Resets portal's heap memory context.
*
* Someday, Reset, Start, and End can be optimized by keeping a global
@@ -873,7 +873,7 @@ PortalResetHeapMemory(Portal portal)
}
/*
* StartPortalAllocMode --
* StartPortalAllocMode
* Starts a new block of portal heap allocation using mode and limit;
* the current block is disabled until EndPortalAllocMode is called.
*
@@ -912,7 +912,7 @@ StartPortalAllocMode(AllocMode mode, Size limit)
}
/*
* EndPortalAllocMode --
* EndPortalAllocMode
* Ends current block of portal heap allocation; previous block is
* reenabled.
*
@@ -944,7 +944,7 @@ EndPortalAllocMode()
}
/*
* PortalGetVariableMemory --
* PortalGetVariableMemory
* Returns variable memory context for a given portal.
*
* Exceptions:
@@ -958,7 +958,7 @@ PortalGetVariableMemory(Portal portal)
}
/*
* PortalGetHeapMemory --
* PortalGetHeapMemory
* Returns heap memory context for a given portal.
*
* Exceptions:
@@ -972,7 +972,7 @@ PortalGetHeapMemory(Portal portal)
}
/*
* PortalVariableMemoryGetPortal --
* PortalVariableMemoryGetPortal
* Returns portal containing given variable memory context.
*
* Exceptions:
@@ -986,7 +986,7 @@ PortalVariableMemoryGetPortal(PortalVariableMemory context)
}
/*
* PortalHeapMemoryGetPortal --
* PortalHeapMemoryGetPortal
* Returns portal containing given heap memory context.
*
* Exceptions:
@@ -1000,7 +1000,7 @@ PortalHeapMemoryGetPortal(PortalHeapMemory context)
}
/*
* PortalVariableMemoryGetHeapMemory --
* PortalVariableMemoryGetHeapMemory
* Returns heap memory context associated with given variable memory.
*
* Exceptions:
@@ -1019,7 +1019,7 @@ PortalVariableMemoryGetHeapMemory(PortalVariableMemory context)
#endif
/*
* PortalHeapMemoryGetVariableMemory --
* PortalHeapMemoryGetVariableMemory
* Returns variable memory context associated with given heap memory.
*
* Exceptions:

View File

@@ -1,6 +1,6 @@
/*-------------------------------------------------------------------------
*
* lselect.c--
* lselect.c
* leftist tree selection algorithm (linked priority queue--Knuth, Vol.3,
* pp.150-52)
*
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/sort/Attic/lselect.c,v 1.14 1998/09/01 03:27:11 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/sort/Attic/lselect.c,v 1.15 1999/02/13 23:20:15 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@@ -1,10 +1,10 @@
/*
* psort.c--
* psort.c
* Polyphase merge sort.
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: psort.c,v 1.49 1999/02/03 21:17:42 momjian Exp $
* $Id: psort.c,v 1.50 1999/02/13 23:20:15 momjian Exp $
*
* NOTES
* Sorts the first relation into the second relation.

View File

@@ -1,13 +1,13 @@
/*-------------------------------------------------------------------------
*
* tqual.c--
* tqual.c
* POSTGRES "time" qualification code.
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/time/tqual.c,v 1.24 1999/01/29 09:23:12 vadim Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/time/tqual.c,v 1.25 1999/02/13 23:20:19 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -59,7 +59,7 @@ setheapoverride(bool on)
*/
/*
* HeapTupleSatisfiesItself --
* HeapTupleSatisfiesItself
* True iff heap tuple is valid for "itself."
* "{it}self" means valid as of everything that's happened
* in the current transaction, _including_ the current command.
@@ -144,7 +144,7 @@ HeapTupleSatisfiesItself(HeapTupleHeader tuple)
}
/*
* HeapTupleSatisfiesNow --
* HeapTupleSatisfiesNow
* True iff heap tuple is valid "now."
* "now" means valid including everything that's happened
* in the current transaction _up to, but not including,_