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.

Macros

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

Typedefs

typedef FormData_pg_classForm_pg_class
 

Functions

 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)
 
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)
 

Variables

RelationRelation_Rowtype_Id BKI_SCHEMA_MACRO
 
NameData relname
 
 FormData_pg_class
 

Macro Definition Documentation

◆ CLASS_TUPLE_SIZE

Typedef Documentation

◆ Form_pg_class

Definition at line 153 of file pg_class.h.

Function Documentation

◆ BKI_DEFAULT() [1/11]

Oid relnamespace BKI_DEFAULT ( PGNSP  )

◆ BKI_DEFAULT() [2/11]

Oid reloftype BKI_DEFAULT ( )

◆ BKI_DEFAULT() [3/11]

Oid relowner BKI_DEFAULT ( PGUID  )

◆ BKI_DEFAULT() [4/11]

Oid relam BKI_DEFAULT ( heap  )

◆ BKI_DEFAULT() [5/11]

bool relhasindex BKI_DEFAULT ( )

◆ BKI_DEFAULT() [6/11]

char relpersistence BKI_DEFAULT ( )

◆ BKI_DEFAULT() [7/11]

char relkind BKI_DEFAULT ( )

◆ BKI_DEFAULT() [8/11]

bool relispopulated BKI_DEFAULT ( )

◆ BKI_DEFAULT() [9/11]

char relreplident BKI_DEFAULT ( )

◆ BKI_DEFAULT() [10/11]

TransactionId relfrozenxid BKI_DEFAULT ( )

◆ BKI_DEFAULT() [11/11]

TransactionId relminmxid BKI_DEFAULT ( )

◆ BKI_LOOKUP()

oidvector proargtypes BKI_LOOKUP ( pg_type  )

◆ CATALOG()

CATALOG ( pg_class  ,
1259  ,
RelationRelationId   
)

Variable Documentation

◆ BKI_SCHEMA_MACRO

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

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(), RelationIsVisible(), report_triggers(), text_regclass(), transformColumnRef(), truncate_check_perms(), truncate_check_rel(), ttdummy(), vacuum_is_relation_owner(), and xpath_table().