1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-30 21:42:05 +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,12 +1,12 @@
/*-------------------------------------------------------------------------
*
* attnum.h--
* attnum.h
* POSTGRES attribute number definitions.
*
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: attnum.h,v 1.8 1998/09/01 04:34:03 momjian Exp $
* $Id: attnum.h,v 1.9 1999/02/13 23:20:49 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -26,21 +26,21 @@ typedef int16 AttrNumber;
* ----------------
*/
/*
* AttributeNumberIsValid --
* AttributeNumberIsValid
* True iff the attribute number is valid.
*/
#define AttributeNumberIsValid(attributeNumber) \
((bool) ((attributeNumber) != InvalidAttrNumber))
/*
* AttrNumberIsForUserDefinedAttr --
* AttrNumberIsForUserDefinedAttr
* True iff the attribute number corresponds to an user defined attribute.
*/
#define AttrNumberIsForUserDefinedAttr(attributeNumber) \
((bool) ((attributeNumber) > 0))
/*
* AttrNumberGetAttrOffset --
* AttrNumberGetAttrOffset
* Returns the attribute offset for an attribute number.
*
* Note:
@ -53,7 +53,7 @@ typedef int16 AttrNumber;
)
/*
* AttributeOffsetGetAttributeNumber --
* AttributeOffsetGetAttributeNumber
* Returns the attribute number for an attribute offset.
*/
#define AttrOffsetGetAttrNumber(attributeOffset) \