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

Go to the source code of this file.

Macros

#define PgDatabaseToastTable   4177
 
#define PgDatabaseToastIndex   4178
 

Typedefs

typedef FormData_pg_databaseForm_pg_database
 

Functions

 CATALOG (pg_database, 1262, DatabaseRelationId) BKI_SHARED_RELATION BKI_ROWTYPE_OID(1248
 
Oid datdba BKI_DEFAULT (POSTGRES) BKI_LOOKUP(pg_authid)
 
Oid dattablespace BKI_LOOKUP (pg_tablespace)
 
 DECLARE_TOAST (pg_database, 4177, 4178)
 
 DECLARE_UNIQUE_INDEX (pg_database_datname_index, 2671, DatabaseNameIndexId, on pg_database using btree(datname name_ops))
 
 DECLARE_UNIQUE_INDEX_PKEY (pg_database_oid_index, 2672, DatabaseOidIndexId, on pg_database using btree(oid oid_ops))
 

Variables

DatabaseRelation_Rowtype_Id BKI_SCHEMA_MACRO
 
NameData datname
 
int32 encoding
 
NameData datcollate
 
NameData datctype
 
bool datistemplate
 
bool datallowconn
 
int32 datconnlimit
 
Oid datlastsysoid
 
TransactionId datfrozenxid
 
TransactionId datminmxid
 
 FormData_pg_database
 

Macro Definition Documentation

◆ PgDatabaseToastIndex

#define PgDatabaseToastIndex   4178

Definition at line 85 of file pg_database.h.

Referenced by IsSharedRelation().

◆ PgDatabaseToastTable

#define PgDatabaseToastTable   4177

Definition at line 84 of file pg_database.h.

Referenced by IsSharedRelation().

Typedef Documentation

◆ Form_pg_database

Definition at line 81 of file pg_database.h.

Function Documentation

◆ BKI_DEFAULT()

Oid datdba BKI_DEFAULT ( POSTGRES  )

◆ BKI_LOOKUP()

Oid dattablespace BKI_LOOKUP ( pg_tablespace  )

◆ CATALOG()

CATALOG ( pg_database  ,
1262  ,
DatabaseRelationId   
)

◆ DECLARE_TOAST()

DECLARE_TOAST ( pg_database  ,
4177  ,
4178   
)

◆ DECLARE_UNIQUE_INDEX()

DECLARE_UNIQUE_INDEX ( pg_database_datname_index  ,
2671  ,
DatabaseNameIndexId  ,
on pg_database using   btreedatname name_ops 
)

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_database_oid_index  ,
2672  ,
DatabaseOidIndexId  ,
on pg_database using   btreeoid oid_ops 
)

Variable Documentation

◆ BKI_SCHEMA_MACRO

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

Definition at line 30 of file pg_database.h.

◆ datallowconn

bool datallowconn

Definition at line 53 of file pg_database.h.

Referenced by check_proper_datallowconn(), and set_frozenxids().

◆ datcollate

NameData datcollate

Definition at line 44 of file pg_database.h.

◆ datconnlimit

int32 datconnlimit

Definition at line 56 of file pg_database.h.

Referenced by dumpDatabase().

◆ datctype

NameData datctype

Definition at line 47 of file pg_database.h.

◆ datfrozenxid

TransactionId datfrozenxid

Definition at line 62 of file pg_database.h.

Referenced by vac_truncate_clog().

◆ datistemplate

bool datistemplate

Definition at line 50 of file pg_database.h.

Referenced by dumpDatabase().

◆ datlastsysoid

Oid datlastsysoid

Definition at line 59 of file pg_database.h.

◆ datminmxid

TransactionId datminmxid

Definition at line 65 of file pg_database.h.

Referenced by vac_truncate_clog().

◆ datname

◆ encoding

◆ FormData_pg_database

FormData_pg_database

Definition at line 74 of file pg_database.h.

Referenced by vac_truncate_clog().