PostgreSQL Source Code  git master
pg_attribute.h File Reference
#include "catalog/genbki.h"
#include "catalog/pg_attribute_d.h"
Include dependency graph for pg_attribute.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ATTRIBUTE_FIXED_PART_SIZE   (offsetof(FormData_pg_attribute,attcollation) + sizeof(Oid))
 

Typedefs

typedef FormData_pg_attributeForm_pg_attribute
 

Functions

 CATALOG (pg_attribute, 1249, AttributeRelationId) BKI_BOOTSTRAP BKI_WITHOUT_OIDS BKI_ROWTYPE_OID(75
 
int32 attstattarget BKI_DEFAULT (-1)
 
bool atthasdef BKI_DEFAULT (f)
 
char attidentity BKI_DEFAULT ('\0')
 
bool attislocal BKI_DEFAULT (t)
 
int32 attinhcount BKI_DEFAULT (0)
 

Variables

AttributeRelation_Rowtype_Id BKI_SCHEMA_MACRO
 
NameData attname
 
Oid atttypid
 
int16 attlen
 
int16 attnum
 
int32 attndims
 
bool attbyval
 
char attstorage
 
char attalign
 
bool attnotnull
 
Oid attcollation
 
 FormData_pg_attribute
 

Macro Definition Documentation

◆ ATTRIBUTE_FIXED_PART_SIZE

Typedef Documentation

◆ Form_pg_attribute

Function Documentation

◆ BKI_DEFAULT() [1/5]

int32 typtypmod BKI_DEFAULT ( 1)

◆ BKI_DEFAULT() [2/5]

bool typnotnull BKI_DEFAULT ( )

◆ BKI_DEFAULT() [3/5]

char attidentity BKI_DEFAULT ( '\0'  )

◆ BKI_DEFAULT() [4/5]

bool attislocal BKI_DEFAULT ( )

◆ BKI_DEFAULT() [5/5]

Oid typcollation BKI_DEFAULT ( )

◆ CATALOG()

CATALOG ( pg_attribute  ,
1249  ,
AttributeRelationId   
)

Variable Documentation

◆ attalign

char attalign

Definition at line 129 of file pg_attribute.h.

Referenced by dumpCompositeType().

◆ attbyval

bool attbyval

Definition at line 108 of file pg_attribute.h.

Referenced by expanded_record_set_tuple(), and FreeTupleDesc().

◆ attcollation

◆ attlen

◆ attname

◆ attndims

int32 attndims

Definition at line 85 of file pg_attribute.h.

◆ attnotnull

bool attnotnull

◆ attnum

int16 attnum

Definition at line 79 of file pg_attribute.h.

Referenced by add_column_collation_dependency(), add_column_datatype_dependency(), addItemPointersToLeafTuple(), AlterDomainNotNull(), ATExecAddIdentity(), ATExecAlterColumnGenericOptions(), ATExecAlterColumnType(), ATExecColumnDefault(), ATExecDropColumn(), ATExecDropIdentity(), ATExecDropNotNull(), ATExecSetIdentity(), ATExecSetNotNull(), ATExecSetOptions(), ATExecSetStatistics(), ATExecSetStorage(), ATPrepAlterColumnType(), autoinc(), BeginCopy(), BeginCopyFrom(), brin_deconstruct_tuple(), brincostestimate(), BuildDescForRelation(), BuildDescFromLists(), BuildIndexValueDescription(), CatCacheCopyKeys(), CatCacheFreeKeys(), check_for_column_name_collision(), check_relation_privileges(), check_selective_binary_conversion(), CheckExprStillValid(), collectMatchBitmap(), compute_index_stats(), convert_column_name(), convert_prep_stmt_params(), CopyGetAttnums(), CopyOneRowTo(), CopyTo(), count_rowexpr_columns(), create_foreign_modify(), CreateTrigger(), DefineAttr(), DefineRelation(), deparseDirectUpdateSql(), deparseInsertSql(), deparseUpdateSql(), dependencies_clauselist_selectivity(), dependency_is_fully_matched(), entryIsMoveRight(), entryLocateEntry(), entryLocateLeafEntry(), estimate_multivariate_ndistinct(), EventTriggerSQLDropAddObject(), examine_attribute(), ExecBuildProjectionInfo(), ExecBuildSlotPartitionKeyDescription(), ExecEvalGroupingFunc(), ExecInterpExpr(), ExecJustAssignInnerVar(), ExecJustAssignOuterVar(), ExecJustAssignScanVar(), ExecJustInnerVar(), ExecJustOuterVar(), ExecJustScanVar(), expand_col_privileges(), expand_tuple(), expandRecordVariable(), expandRTE(), find_hash_columns(), flatten_join_alias_vars_mutator(), generateClonedExtStatsStmt(), generateClonedIndexStmt(), get_attavgwidth(), get_attribute_options(), get_file_fdw_attribute_options(), get_last_attnums_walker(), get_name_for_var_field(), get_object_address_attrdef(), get_object_address_attribute(), get_variable(), ginbuild(), ginBuildCallback(), ginFillScanEntry(), ginFillScanKey(), ginInsertBAEntry(), ginInsertCleanup(), ginPrepareEntryScan(), ginVacuumEntryPage(), heap_deform_tuple(), heap_modify_tuple_by_cols(), HeapDetermineModifiedColumns(), heapgettup_pagemode(), index_check_primary_key(), insert_username(), intorel_startup(), is_usable_unique_index(), llvm_compile_expr(), lo_manage(), logicalrep_rel_open(), LookupTypeName(), markTargetListOrigin(), moddatetime(), NextCopyFrom(), nocache_index_getattr(), nocachegetattr(), pg_column_is_updatable(), pg_get_indexdef_worker(), pg_get_partkeydef_worker(), pg_get_serial_sequence(), pg_get_statisticsobj_worker(), postgresBeginForeignInsert(), postgresPlanForeignModify(), prepare_projection_slot(), process_owned_by(), refresh_by_match_merge(), RelationBuildTupleDesc(), RelationClearMissing(), renameatt(), renameatt_internal(), scanRTEForColumn(), sepgsql_attribute_drop(), sepgsql_attribute_post_create(), sepgsql_attribute_relabel(), sepgsql_attribute_setattr(), slot_compile_deform(), slot_deform_tuple(), slot_fill_defaults(), slot_getallattrs(), slot_getsomeattrs(), statext_is_kind_built(), std_fetch_func(), StoreAttrDefault(), timetravel(), transformAlterTableStmt(), transformAssignmentIndirection(), transformColumnNameList(), transformIndexConstraint(), ttdummy(), updateFuzzyAttrMatchState(), and validateDomainConstraint().

◆ attstorage

char attstorage

Definition at line 123 of file pg_attribute.h.

Referenced by toast_insert_or_update().

◆ atttypid

◆ BKI_SCHEMA_MACRO

AttributeRelation_Rowtype_Id BKI_SCHEMA_MACRO
Initial value:
{
Oid attrelid
unsigned int Oid
Definition: postgres_ext.h:31

Definition at line 38 of file pg_attribute.h.

◆ FormData_pg_attribute