Header And Logo

PostgreSQL
| The world's most advanced open source database.

Defines | Typedefs

attnum.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define InvalidAttrNumber   0
#define MaxAttrNumber   32767
#define AttributeNumberIsValid(attributeNumber)   ((bool) ((attributeNumber) != InvalidAttrNumber))
#define AttrNumberIsForUserDefinedAttr(attributeNumber)   ((bool) ((attributeNumber) > 0))
#define AttrNumberGetAttrOffset(attNum)
#define AttrOffsetGetAttrNumber(attributeOffset)   ((AttrNumber) (1 + (attributeOffset)))

Typedefs

typedef int16 AttrNumber

Define Documentation

#define AttributeNumberIsValid (   attributeNumber  )     ((bool) ((attributeNumber) != InvalidAttrNumber))
#define AttrNumberGetAttrOffset (   attNum  ) 
Value:
( \
    AssertMacro(AttrNumberIsForUserDefinedAttr(attNum)), \
    ((attNum) - 1) \
)

Definition at line 51 of file attnum.h.

Referenced by ConstructTupleDescriptor().

#define AttrNumberIsForUserDefinedAttr (   attributeNumber  )     ((bool) ((attributeNumber) > 0))

Definition at line 41 of file attnum.h.

#define AttrOffsetGetAttrNumber (   attributeOffset  )     ((AttrNumber) (1 + (attributeOffset)))

Definition at line 61 of file attnum.h.

#define InvalidAttrNumber   0
#define MaxAttrNumber   32767

Definition at line 24 of file attnum.h.

Referenced by addRangeTableEntryForJoin().


Typedef Documentation

typedef int16 AttrNumber

Definition at line 21 of file attnum.h.