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

Go to the source code of this file.


#define CLASS_TUPLE_SIZE   (offsetof(FormData_pg_class,relminmxid) + sizeof(TransactionId))


typedef FormData_pg_classForm_pg_class


 CATALOG (pg_class, 1259, RelationRelationId) BKI_BOOTSTRAP BKI_ROWTYPE_OID(83
Oid relnamespace BKI_DEFAULT (PGNSP)
Oid reltype BKI_LOOKUP (pg_type)
Oid reloftype BKI_DEFAULT (0) BKI_LOOKUP(pg_type)
Oid relowner BKI_DEFAULT (PGUID)
Oid relam BKI_DEFAULT (heap) BKI_LOOKUP(pg_am)
float4 reltuples BKI_DEFAULT (-1)
bool relhasindex BKI_DEFAULT (f)
char relpersistence BKI_DEFAULT (p)
char relkind BKI_DEFAULT (r)
bool relispopulated BKI_DEFAULT (t)
char relreplident BKI_DEFAULT (n)
TransactionId relfrozenxid BKI_DEFAULT (3)
TransactionId relminmxid BKI_DEFAULT (1)


RelationRelation_Rowtype_Id BKI_SCHEMA_MACRO
NameData relname

Macro Definition Documentation


Typedef Documentation

◆ Form_pg_class

Definition at line 153 of file pg_class.h.

Function Documentation

◆ BKI_DEFAULT() [1/12]

Oid relnamespace BKI_DEFAULT ( PGNSP  )

◆ BKI_DEFAULT() [2/12]

Oid reloftype BKI_DEFAULT ( )

◆ BKI_DEFAULT() [3/12]

Oid relowner BKI_DEFAULT ( PGUID  )

◆ BKI_DEFAULT() [4/12]

Oid relam BKI_DEFAULT ( heap  )

◆ BKI_DEFAULT() [5/12]

float4 reltuples BKI_DEFAULT ( 1)

◆ BKI_DEFAULT() [6/12]

bool relhasindex BKI_DEFAULT ( )

◆ BKI_DEFAULT() [7/12]

char relpersistence BKI_DEFAULT ( )

◆ BKI_DEFAULT() [8/12]

char relkind BKI_DEFAULT ( )

◆ BKI_DEFAULT() [9/12]

bool relispopulated BKI_DEFAULT ( )

◆ BKI_DEFAULT() [10/12]

char relreplident BKI_DEFAULT ( )

◆ BKI_DEFAULT() [11/12]

TransactionId relfrozenxid BKI_DEFAULT ( )

◆ BKI_DEFAULT() [12/12]

TransactionId relminmxid BKI_DEFAULT ( )


oidvector proargtypes BKI_LOOKUP ( pg_type  )


CATALOG ( pg_class  ,
1259  ,

Variable Documentation


RelationRelation_Rowtype_Id BKI_SCHEMA_MACRO
Initial value:
Oid oid
unsigned int Oid
Definition: postgres_ext.h:31

Definition at line 33 of file pg_class.h.

◆ FormData_pg_class


Definition at line 142 of file pg_class.h.

◆ relname

NameData relname

Definition at line 38 of file pg_class.h.

Referenced by _copyRangeVar(), _copyWithCheckOption(), _equalRangeVar(), _equalWithCheckOption(), _outRangeVar(), _outWithCheckOption(), _readRangeVar(), _readWithCheckOption(), autoinc(), bt_metap(), bt_page_items(), bt_page_stats(), check_foreign_key(), check_primary_key(), ChooseRelationName(), connectby_text(), connectby_text_serial(), conversion_error_callback(), currtid_byrelname(), DefineRelation(), deparseAnalyzeSizeSql(), deparseRelation(), describeOneTableDetails(), describeTableDetails(), dolink(), exec_rt_fetch(), ExpandColumnRefStar(), fetch_remote_table_info(), fetch_table_list(), generate_qualified_relation_name(), generate_relation_name(), get_create_object_cmd(), get_object_address_attrdef(), get_object_address_attribute(), get_object_address_publication_rel(), get_object_address_relobject(), get_raw_page(), get_raw_page_fork(), get_rel_infos(), get_relation_name(), get_sql_delete(), get_sql_insert(), get_sql_update(), get_tuple_of_interest(), getRelationDescription(), heap_truncate_check_FKs(), insert_username(), LockTableRecurse(), LockViewRecurse_walker(), logicalrep_write_rel(), makeRangeVar(), map_sql_schema_to_xmlschema_types(), moddatetime(), namecheck(), pg_get_expr(), pg_get_expr_ext(), pg_relpages(), pg_relpages_v1_5(), pgrowlocks(), pgstatindex(), pgstatindex_v1_5(), pgstattuple(), pgstattuple_v1_5(), postgresExplainForeignScan(), print_expr(), print_maps(), process_owned_by(), ReindexPartitions(), RelationIsVisible(), report_triggers(), text_regclass(), transformColumnRef(), truncate_check_perms(), truncate_check_rel(), ttdummy(), vacuum_is_relation_owner(), and xpath_table().