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 AttributeNumberIsValid | ( | attributeNumber | ) | ((bool) ((attributeNumber) != InvalidAttrNumber)) |
Definition at line 34 of file attnum.h.
Referenced by ExecBuildAuxRowMark(), ExecInitModifyTable(), generateClonedIndexStmt(), GetAttributeByNum(), and postgresBeginForeignModify().
#define AttrNumberGetAttrOffset | ( | attNum | ) |
( \ AssertMacro(AttrNumberIsForUserDefinedAttr(attNum)), \ ((attNum) - 1) \ )
Definition at line 51 of file attnum.h.
Referenced by ConstructTupleDescriptor().
#define AttrNumberIsForUserDefinedAttr | ( | attributeNumber | ) | ((bool) ((attributeNumber) > 0)) |
#define AttrOffsetGetAttrNumber | ( | attributeOffset | ) | ((AttrNumber) (1 + (attributeOffset))) |
#define InvalidAttrNumber 0 |
Definition at line 23 of file attnum.h.
Referenced by adjust_view_column_set(), AlterObjectOwner_internal(), ATExecColumnDefault(), attnameAttNum(), checkInsertTargets(), convert_column_name(), CopyGetAttnums(), CreateTrigger(), do_analyze_rel(), dumpConstraint(), eval_const_expressions_mutator(), EventTriggerSQLDropAddObject(), ExecCheckRTEPerms(), ExecEvalScalarVar(), ExecEvalWholeRowVar(), ExecInitExpr(), 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_name_for_var_field(), get_object_address_attribute(), get_object_namespace(), get_rte_attribute_name(), get_variable(), GetAttributeByName(), LookupTypeName(), makeWholeRowVar(), markRTEForSelectPriv(), markTargetListOrigin(), ParseComplexProjection(), pg_get_serial_sequence(), pg_identify_object(), postgresPlanForeignModify(), ProcedureCreate(), process_owned_by(), pullup_replace_vars_callback(), ReplaceVarsFromTargetList_callback(), scanRTEForColumn(), transformAssignmentIndirection(), transformUpdateStmt(), translate_col_privs(), and unknown_attribute().
#define MaxAttrNumber 32767 |
Definition at line 24 of file attnum.h.
Referenced by addRangeTableEntryForJoin().
typedef int16 AttrNumber |