PostgreSQL Source Code
git master
|
Go to the source code of this file.
Macros | |
#define | PgDatabaseToastTable 4177 |
#define | PgDatabaseToastIndex 4178 |
#define | DatabaseNameIndexId 2671 |
#define | DatabaseOidIndexId 2672 |
Typedefs | |
typedef FormData_pg_database * | Form_pg_database |
Functions | |
CATALOG (pg_database, 1262, DatabaseRelationId) BKI_SHARED_RELATION BKI_ROWTYPE_OID(1248 | |
Oid datdba | BKI_DEFAULT (PGUID) |
Oid dattablespace | BKI_LOOKUP (pg_tablespace) |
DECLARE_TOAST (pg_database, 4177, 4178) | |
DECLARE_UNIQUE_INDEX (pg_database_datname_index, 2671, on pg_database using btree(datname name_ops)) | |
DECLARE_UNIQUE_INDEX (pg_database_oid_index, 2672, 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 | |
#define DatabaseNameIndexId 2671 |
Definition at line 88 of file pg_database.h.
Referenced by AlterDatabase(), AlterDatabaseOwner(), get_database_oid(), get_db_info(), GetDatabaseTuple(), IsSharedRelation(), movedb(), RelationCacheInitializePhase3(), and RelationIdIsInInitFile().
#define DatabaseOidIndexId 2672 |
Definition at line 90 of file pg_database.h.
Referenced by createdb(), GetDatabaseTupleByOid(), IsSharedRelation(), RelationCacheInitializePhase3(), sepgsql_database_post_create(), and vac_update_datfrozenxid().
#define PgDatabaseToastIndex 4178 |
Definition at line 85 of file pg_database.h.
Referenced by IsSharedRelation().
#define PgDatabaseToastTable 4177 |
Definition at line 84 of file pg_database.h.
Referenced by IsSharedRelation().
typedef FormData_pg_database* Form_pg_database |
Definition at line 81 of file pg_database.h.
Oid datdba BKI_DEFAULT | ( | PGUID | ) |
Oid dattablespace BKI_LOOKUP | ( | pg_tablespace | ) |
CATALOG | ( | pg_database | , |
1262 | , | ||
DatabaseRelationId | |||
) |
DECLARE_TOAST | ( | pg_database | , |
4177 | , | ||
4178 | |||
) |
DECLARE_UNIQUE_INDEX | ( | pg_database_datname_index | , |
2671 | , | ||
on pg_database using | btreedatname name_ops | ||
) |
DECLARE_UNIQUE_INDEX | ( | pg_database_oid_index | , |
2672 | , | ||
on pg_database using | btreeoid oid_ops | ||
) |
DatabaseRelation_Rowtype_Id BKI_SCHEMA_MACRO |
Definition at line 30 of file pg_database.h.
bool datallowconn |
Definition at line 53 of file pg_database.h.
Referenced by check_proper_datallowconn(), and set_frozenxids().
NameData datcollate |
Definition at line 44 of file pg_database.h.
int32 datconnlimit |
Definition at line 56 of file pg_database.h.
Referenced by dumpDatabase().
NameData datctype |
Definition at line 47 of file pg_database.h.
TransactionId datfrozenxid |
Definition at line 62 of file pg_database.h.
Referenced by vac_truncate_clog().
bool datistemplate |
Definition at line 50 of file pg_database.h.
Referenced by dumpDatabase().
Oid datlastsysoid |
Definition at line 59 of file pg_database.h.
TransactionId datminmxid |
Definition at line 65 of file pg_database.h.
Referenced by vac_truncate_clog().
NameData datname |
Definition at line 35 of file pg_database.h.
Referenced by check_proper_datallowconn(), dumpDatabase(), get_database_name(), getObjectDescription(), getObjectIdentityParts(), RenameDatabase(), and set_frozenxids().
int32 encoding |
Definition at line 41 of file pg_database.h.
Referenced by ascii(), assign_client_encoding(), cache_locale_time(), CATALOG(), check_client_encoding(), chr(), createdb(), DebugFileOpen(), dumpDatabase(), entry_alloc(), exec_command_encoding(), iso8859_to_utf8(), main(), makeJsonLexContextCstringLen(), pg_encoding_max_length(), pg_encoding_max_length_sql(), pg_encoding_mb2wchar_with_len(), pg_encoding_mbcliplen(), PG_encoding_to_char(), pg_encoding_wchar2mb_with_len(), pg_verify_mbstr_len(), PGLC_localeconv(), pgss_store(), PQenv2encoding(), PrepareClientEncoding(), print_aligned_text(), print_aligned_vertical(), processEncodingEntry(), processSQLNamePattern(), SetClientEncoding(), SetDatabaseEncoding(), SetMessageEncoding(), utf8_to_iso8859(), utf8_to_win(), win_to_utf8(), xml_is_document(), and xml_recv().
FormData_pg_database |
Definition at line 74 of file pg_database.h.
Referenced by vac_truncate_clog().