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
 

Variables

RelationRelation_Rowtype_Id BKI_SCHEMA_MACRO
 
Oid relnamespace
 
Oid reltype
 
Oid reloftype
 
Oid relowner
 
Oid relam
 
Oid relfilenode
 
Oid reltablespace
 
int32 relpages
 
float4 reltuples
 
int32 relallvisible
 
Oid reltoastrelid
 
bool relhasindex
 
bool relisshared
 
char relpersistence
 
char relkind
 
int16 relnatts
 
int16 relchecks
 
bool relhasoids
 
bool relhasrules
 
bool relhastriggers
 
bool relhassubclass
 
bool relrowsecurity
 
bool relforcerowsecurity
 
bool relispopulated
 
char relreplident
 
bool relispartition
 
Oid relrewrite
 
TransactionId relfrozenxid
 
TransactionId relminmxid
 
 FormData_pg_class
 

Macro Definition Documentation

◆ CLASS_TUPLE_SIZE

Typedef Documentation

◆ Form_pg_class

Definition at line 92 of file pg_class.h.

Function Documentation

◆ CATALOG()

CATALOG ( pg_class  ,
1259  ,
RelationRelationId   
)

Variable Documentation

◆ BKI_SCHEMA_MACRO

RelationRelation_Rowtype_Id BKI_SCHEMA_MACRO
Initial value:
{
NameData relname
Definition: c.h:570

Definition at line 30 of file pg_class.h.

◆ FormData_pg_class

FormData_pg_class

Definition at line 81 of file pg_class.h.

◆ relallvisible

int32 relallvisible

Definition at line 45 of file pg_class.h.

Referenced by do_analyze_rel(), estimate_rel_size(), and index_update_stats().

◆ relam

Oid relam

Definition at line 38 of file pg_class.h.

Referenced by _outIndexOptInfo().

◆ relchecks

int16 relchecks

Definition at line 59 of file pg_class.h.

◆ relfilenode

Oid relfilenode

Definition at line 39 of file pg_class.h.

Referenced by pg_filenode_relation(), RelationBuildLocalRelation(), and RelidByRelfilenode().

◆ relforcerowsecurity

bool relforcerowsecurity

Definition at line 65 of file pg_class.h.

Referenced by ATExecForceNoForceRowSecurity(), and check_enable_rls().

◆ relfrozenxid

TransactionId relfrozenxid

Definition at line 71 of file pg_class.h.

Referenced by lazy_scan_heap().

◆ relhasindex

bool relhasindex

Definition at line 48 of file pg_class.h.

Referenced by ExecOpenIndices(), and RelationGetIndexAttrBitmap().

◆ relhasoids

bool relhasoids

Definition at line 60 of file pg_class.h.

Referenced by ATExecAddColumn(), and InsertOneTuple().

◆ relhasrules

bool relhasrules

Definition at line 61 of file pg_class.h.

◆ relhassubclass

bool relhassubclass

Definition at line 63 of file pg_class.h.

Referenced by has_subclass(), and SetRelationHasSubclass().

◆ relhastriggers

bool relhastriggers

Definition at line 62 of file pg_class.h.

Referenced by CreateTrigger().

◆ relispartition

◆ relispopulated

bool relispopulated

Definition at line 67 of file pg_class.h.

Referenced by SetMatViewPopulatedState().

◆ relisshared

bool relisshared

Definition at line 49 of file pg_class.h.

Referenced by do_autovacuum().

◆ relkind

◆ relminmxid

TransactionId relminmxid

Definition at line 72 of file pg_class.h.

Referenced by lazy_scan_heap().

◆ relnamespace

◆ relnatts

int16 relnatts

Definition at line 52 of file pg_class.h.

Referenced by ATExecAddColumn(), fixup_whole_row_references(), and refresh_by_match_merge().

◆ reloftype

Oid reloftype

Definition at line 35 of file pg_class.h.

Referenced by AddNewRelationTuple(), ATExecAddOf(), ATExecDropOf(), and describeOneTableDetails().

◆ relowner

◆ relpages

◆ relpersistence

◆ relreplident

char relreplident

Definition at line 68 of file pg_class.h.

Referenced by describeOneTableDetails().

◆ relrewrite

Oid relrewrite

Definition at line 70 of file pg_class.h.

Referenced by heap_create_with_catalog().

◆ relrowsecurity

bool relrowsecurity

Definition at line 64 of file pg_class.h.

Referenced by ATExecDisableRowSecurity(), ATExecEnableRowSecurity(), and check_enable_rls().

◆ reltablespace

◆ reltoastrelid

Oid reltoastrelid

Definition at line 47 of file pg_class.h.

Referenced by ATExecSetTableSpace(), and create_toast_table().

◆ reltuples

◆ reltype