#include "catalog/genbki.h"
Go to the source code of this file.
Defines | |
#define | DatabaseRelationId 1262 |
#define | DatabaseRelation_Rowtype_Id 1248 |
#define | Natts_pg_database 13 |
#define | Anum_pg_database_datname 1 |
#define | Anum_pg_database_datdba 2 |
#define | Anum_pg_database_encoding 3 |
#define | Anum_pg_database_datcollate 4 |
#define | Anum_pg_database_datctype 5 |
#define | Anum_pg_database_datistemplate 6 |
#define | Anum_pg_database_datallowconn 7 |
#define | Anum_pg_database_datconnlimit 8 |
#define | Anum_pg_database_datlastsysoid 9 |
#define | Anum_pg_database_datfrozenxid 10 |
#define | Anum_pg_database_datminmxid 11 |
#define | Anum_pg_database_dattablespace 12 |
#define | Anum_pg_database_datacl 13 |
#define | TemplateDbOid 1 |
Typedefs | |
typedef FormData_pg_database * | Form_pg_database |
Functions | |
CATALOG (pg_database, 1262) BKI_SHARED_RELATION BKI_ROWTYPE_OID(1248) BKI_SCHEMA_MACRO | |
DATA (insert OID=1(template1 PGUID ENCODING"LC_COLLATE""LC_CTYPE"t t-1 0 0 1 1663 _null_)) | |
SHDESCR ("default template for new databases") | |
Variables | |
FormData_pg_database |
#define Anum_pg_database_datacl 13 |
Definition at line 76 of file pg_database.h.
Referenced by AlterDatabaseOwner(), createdb(), ExecGrant_Database(), and pg_database_aclmask().
#define Anum_pg_database_datallowconn 7 |
Definition at line 70 of file pg_database.h.
Referenced by createdb().
#define Anum_pg_database_datcollate 4 |
Definition at line 67 of file pg_database.h.
Referenced by createdb().
#define Anum_pg_database_datconnlimit 8 |
Definition at line 71 of file pg_database.h.
Referenced by AlterDatabase(), and createdb().
#define Anum_pg_database_datctype 5 |
Definition at line 68 of file pg_database.h.
Referenced by createdb().
#define Anum_pg_database_datdba 2 |
Definition at line 65 of file pg_database.h.
Referenced by AlterDatabaseOwner(), and createdb().
#define Anum_pg_database_datfrozenxid 10 |
Definition at line 73 of file pg_database.h.
Referenced by createdb().
#define Anum_pg_database_datistemplate 6 |
Definition at line 69 of file pg_database.h.
Referenced by createdb().
#define Anum_pg_database_datlastsysoid 9 |
Definition at line 72 of file pg_database.h.
Referenced by createdb().
#define Anum_pg_database_datminmxid 11 |
Definition at line 74 of file pg_database.h.
Referenced by createdb().
#define Anum_pg_database_datname 1 |
Definition at line 64 of file pg_database.h.
Referenced by AlterDatabase(), AlterDatabaseOwner(), createdb(), get_database_oid(), get_db_info(), GetDatabaseTuple(), and movedb().
#define Anum_pg_database_dattablespace 12 |
Definition at line 75 of file pg_database.h.
Referenced by createdb(), and movedb().
#define Anum_pg_database_encoding 3 |
Definition at line 66 of file pg_database.h.
Referenced by createdb().
#define DatabaseRelation_Rowtype_Id 1248 |
Definition at line 30 of file pg_database.h.
Referenced by RelationCacheInitializePhase2().
#define DatabaseRelationId 1262 |
Definition at line 29 of file pg_database.h.
Referenced by AlterDatabase(), AlterDatabaseOwner(), AlterDatabaseSet(), AlterRoleSet(), createdb(), createdb_failure_callback(), dbase_redo(), dropDatabaseDependencies(), dropdb(), exec_object_restorecon(), ExecGrant_Database(), get_database_list(), get_database_oid(), get_db_info(), GetDatabaseTuple(), GetDatabaseTupleByOid(), getObjectClass(), InitPostgres(), IsSharedRelation(), movedb(), pgstat_vacuum_stat(), PreCommit_Notify(), RelationBuildLocalRelation(), RelationCacheInitializePhase3(), RemoveRoleFromObjectACL(), RenameDatabase(), sepgsql_database_post_create(), sepgsql_object_access(), sepgsql_object_relabel(), sepgsql_restorecon(), sepgsql_schema_post_create(), shdepLockAndCheckObject(), shdepReassignOwned(), vac_truncate_clog(), and vac_update_datfrozenxid().
#define Natts_pg_database 13 |
Definition at line 63 of file pg_database.h.
Referenced by RelationCacheInitializePhase2().
#define TemplateDbOid 1 |
Definition at line 80 of file pg_database.h.
typedef FormData_pg_database* Form_pg_database |
Definition at line 57 of file pg_database.h.
CATALOG | ( | pg_database | , | |
1262 | ||||
) |
Definition at line 32 of file pg_database.h.
References encoding.
{ NameData datname; /* database name */ Oid datdba; /* owner of database */ int32 encoding; /* character encoding */ NameData datcollate; /* LC_COLLATE setting */ NameData datctype; /* LC_CTYPE setting */ bool datistemplate; /* allowed as CREATE DATABASE template? */ bool datallowconn; /* new connections allowed? */ int32 datconnlimit; /* max connections allowed (-1=no limit) */ Oid datlastsysoid; /* highest OID to consider a system OID */ TransactionId datfrozenxid; /* all Xids < this are frozen in this DB */ TransactionId datminmxid; /* all multixacts in the DB are >= this */ Oid dattablespace; /* default table space for this DB */ #ifdef CATALOG_VARLEN /* variable-length fields start here */ aclitem datacl[1]; /* access permissions */ #endif } FormData_pg_database;
DATA | ( | insert | OID = 1(template1 PGUID ENCODING"LC_COLLATE""LC_CTYPE"t t-1 0 0 1 1663 _null_) |
) |
SHDESCR | ( | "default template for new databases" | ) |
Definition at line 50 of file pg_database.h.