mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
pgindent run over code.
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: attnum.h,v 1.9 1999/02/13 23:20:49 momjian Exp $
|
||||
* $Id: attnum.h,v 1.10 1999/05/25 16:13:26 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) \
|
||||
|
Reference in New Issue
Block a user