PostgreSQL Source Code  git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
pg_tablespace.h File Reference
#include "catalog/genbki.h"
#include "catalog/pg_tablespace_d.h"
Include dependency graph for pg_tablespace.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef FormData_pg_tablespaceForm_pg_tablespace
 

Functions

 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)
 

Variables

 FormData_pg_tablespace
 

Typedef Documentation

◆ Form_pg_tablespace

Definition at line 48 of file pg_tablespace.h.

Function Documentation

◆ CATALOG()

CATALOG ( pg_tablespace  ,
1213  ,
TableSpaceRelationId   
)

Definition at line 29 of file pg_tablespace.h.

30 {
31  Oid oid; /* oid */
32  NameData spcname; /* tablespace name */
33 
34  /* owner of tablespace */
35  Oid spcowner BKI_DEFAULT(POSTGRES) BKI_LOOKUP(pg_authid);
36 
37 #ifdef CATALOG_VARLEN /* variable-length fields start here */
38  aclitem spcacl[1]; /* access permissions */
39  text spcoptions[1]; /* per-tablespace options */
40 #endif
#define BKI_LOOKUP(catalog)
Definition: genbki.h:46
#define BKI_DEFAULT(value)
Definition: genbki.h:35
FormData_pg_tablespace
Definition: pg_tablespace.h:41
unsigned int Oid
Definition: postgres_ext.h:31
Definition: c.h:720
Definition: c.h:666

References BKI_DEFAULT, and BKI_LOOKUP.

◆ DECLARE_TOAST_WITH_MACRO()

DECLARE_TOAST_WITH_MACRO ( pg_tablespace  ,
4185  ,
4186  ,
PgTablespaceToastTable  ,
PgTablespaceToastIndex   
)

◆ DECLARE_UNIQUE_INDEX()

DECLARE_UNIQUE_INDEX ( pg_tablespace_spcname_index  ,
2698  ,
TablespaceNameIndexId  ,
pg_tablespace  ,
btree(spcname name_ops)   
)

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_tablespace_oid_index  ,
2697  ,
TablespaceOidIndexId  ,
pg_tablespace  ,
btree(oid oid_ops)   
)

◆ MAKE_SYSCACHE()

MAKE_SYSCACHE ( TABLESPACEOID  ,
pg_tablespace_oid_index  ,
 
)

Variable Documentation

◆ FormData_pg_tablespace

FormData_pg_tablespace

Definition at line 41 of file pg_tablespace.h.