PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
attnum.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#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
 

Macro Definition Documentation

#define AttributeNumberIsValid (   attributeNumber)    ((bool) ((attributeNumber) != InvalidAttrNumber))
#define AttrNumberGetAttrOffset (   attNum)
Value:
( \
((attNum) - 1) \
)
#define AttrNumberIsForUserDefinedAttr(attributeNumber)
Definition: attnum.h:41
#define AssertMacro(condition)
Definition: c.h:676

Definition at line 51 of file attnum.h.

Referenced by ConstructTupleDescriptor(), and logicalrep_rel_open().

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

Definition at line 41 of file attnum.h.

Referenced by logicalrep_rel_open().

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

Definition at line 61 of file attnum.h.

#define InvalidAttrNumber   0

Definition at line 23 of file attnum.h.

Referenced by adjust_view_column_set(), AlterObjectOwner_internal(), ATExecColumnDefault(), attnameAttNum(), BuildIndexValueDescription(), checkInsertTargets(), coerce_record_to_complex(), ComputeIndexAttrs(), ComputePartitionAttrs(), convert_column_name(), CopyGetAttnums(), create_hashjoin_plan(), CreateTrigger(), do_analyze_rel(), dumpConstraint(), eval_const_expressions_mutator(), EventTriggerSQLDropAddObject(), examine_simple_variable(), ExecBuildSlotPartitionKeyDescription(), ExecCheckRTEPerms(), ExecCheckRTEPermsModified(), ExecEvalWholeRowVar(), ExecFindJunkAttributeInTlist(), ExecInitExprRec(), expand_all_col_privileges(), expand_col_privileges(), expandRecordVariable(), ExpandRowReference(), find_expr_references_walker(), fixup_inherited_columns(), fixup_whole_row_references(), flatten_join_alias_vars_mutator(), get_attnum(), get_name_for_var_field(), get_object_address_attrdef(), get_object_address_attribute(), get_object_namespace(), get_rte_attribute_name(), get_variable(), GetAttributeByName(), LookupTypeName(), makeWholeRowVar(), markRTEForSelectPriv(), markTargetListOrigin(), ParseComplexProjection(), pg_event_trigger_ddl_commands(), pg_get_serial_sequence(), pg_identify_object(), postgresPlanDirectModify(), postgresPlanForeignModify(), ProcedureCreate(), process_owned_by(), pullup_replace_vars_callback(), ReplaceVarsFromTargetList_callback(), scanRTEForColumn(), searchRangeTableForCol(), specialAttNum(), transformAssignmentIndirection(), transformOnConflictClause(), transformUpdateTargetList(), translate_col_privs(), unknown_attribute(), and updateFuzzyAttrMatchState().

#define MaxAttrNumber   32767

Definition at line 24 of file attnum.h.

Referenced by addRangeTableEntryForJoin().

Typedef Documentation

Definition at line 21 of file attnum.h.