|
PostgreSQL Source Code git master
|


Go to the source code of this file.
Functions | |
| BEGIN_CATALOG_STRUCT | CATALOG (pg_tablespace, 1213, TableSpaceRelationId) BKI_SHARED_RELATION |
| DECLARE_TOAST_WITH_MACRO (pg_tablespace, 4185, 4186, PgTablespaceToastTable, PgTablespaceToastIndex) | |
| DECLARE_UNIQUE_INDEX_PKEY (pg_tablespace_oid_index, 2697, TablespaceOidIndexId, pg_tablespace, btree(oid oid_ops)) | |
| DECLARE_UNIQUE_INDEX (pg_tablespace_spcname_index, 2698, TablespaceNameIndexId, pg_tablespace, btree(spcname name_ops)) | |
| MAKE_SYSCACHE (TABLESPACEOID, pg_tablespace_oid_index, 4) | |
| char * | get_tablespace_location (Oid tablespaceOid) |
Variables | |
| END_CATALOG_STRUCT typedef FormData_pg_tablespace * | Form_pg_tablespace |
| FormData_pg_tablespace | |
| BEGIN_CATALOG_STRUCT CATALOG | ( | pg_tablespace | , |
| 1213 | , | ||
| TableSpaceRelationId | |||
| ) |
Definition at line 31 of file pg_tablespace.h.
References BKI_DEFAULT, BKI_LOOKUP, and fb().
| DECLARE_TOAST_WITH_MACRO | ( | pg_tablespace | , |
| 4185 | , | ||
| 4186 | , | ||
| PgTablespaceToastTable | , | ||
| PgTablespaceToastIndex | |||
| ) |
| DECLARE_UNIQUE_INDEX | ( | pg_tablespace_spcname_index | , |
| 2698 | , | ||
| TablespaceNameIndexId | , | ||
| pg_tablespace | , | ||
| btree(spcname name_ops) | |||
| ) |
| DECLARE_UNIQUE_INDEX_PKEY | ( | pg_tablespace_oid_index | , |
| 2697 | , | ||
| TablespaceOidIndexId | , | ||
| pg_tablespace | , | ||
| btree(oid oid_ops) | |||
| ) |
Definition at line 30 of file pg_tablespace.c.
References ereport, errcode(), errcode_for_file_access(), errmsg, ERROR, fb(), InvalidOid, lstat, MAXPGPATH, MyDatabaseTableSpace, PG_TBLSPC_DIR, pstrdup(), readlink, S_ISLNK, snprintf, and stat::st_mode.
Referenced by pg_tablespace_location().
| MAKE_SYSCACHE | ( | TABLESPACEOID | , |
| pg_tablespace_oid_index | , | ||
| 4 | |||
| ) |
| END_CATALOG_STRUCT typedef FormData_pg_tablespace* Form_pg_tablespace |
Definition at line 52 of file pg_tablespace.h.
Referenced by AlterTableSpaceOptions(), check_db_file_conflict(), CreateDatabaseUsingFileCopy(), DropTableSpace(), get_tablespace_name(), get_tablespace_oid(), remove_dbtablespaces(), and RenameTableSpace().
| FormData_pg_tablespace |
Definition at line 43 of file pg_tablespace.h.