PostgreSQL Source Code  git master
pg_tablespace.h File Reference
#include "catalog/genbki.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.

Macros

#define TableSpaceRelationId   1213
 
#define Natts_pg_tablespace   4
 
#define Anum_pg_tablespace_spcname   1
 
#define Anum_pg_tablespace_spcowner   2
 
#define Anum_pg_tablespace_spcacl   3
 
#define Anum_pg_tablespace_spcoptions   4
 
#define DEFAULTTABLESPACE_OID   1663
 
#define GLOBALTABLESPACE_OID   1664
 

Typedefs

typedef FormData_pg_tablespaceForm_pg_tablespace
 

Functions

 CATALOG (pg_tablespace, 1213) BKI_SHARED_RELATION
 
 DATA (insert OID=1663(pg_default PGUID _null_ _null_))
 

Variables

 FormData_pg_tablespace
 

Macro Definition Documentation

◆ Anum_pg_tablespace_spcacl

#define Anum_pg_tablespace_spcacl   3

Definition at line 57 of file pg_tablespace.h.

Referenced by CreateTableSpace(), ExecGrant_Tablespace(), and pg_tablespace_aclmask().

◆ Anum_pg_tablespace_spcname

#define Anum_pg_tablespace_spcname   1

◆ Anum_pg_tablespace_spcoptions

#define Anum_pg_tablespace_spcoptions   4

Definition at line 58 of file pg_tablespace.h.

Referenced by AlterTableSpaceOptions(), CreateTableSpace(), and get_tablespace().

◆ Anum_pg_tablespace_spcowner

#define Anum_pg_tablespace_spcowner   2

Definition at line 56 of file pg_tablespace.h.

Referenced by CreateTableSpace().

◆ DEFAULTTABLESPACE_OID

◆ GLOBALTABLESPACE_OID

◆ Natts_pg_tablespace

#define Natts_pg_tablespace   4

Definition at line 54 of file pg_tablespace.h.

Referenced by AlterTableSpaceOptions(), CreateTableSpace(), and ExecGrant_Tablespace().

◆ TableSpaceRelationId

Typedef Documentation

◆ Form_pg_tablespace

Function Documentation

◆ CATALOG()

CATALOG ( pg_tablespace  ,
1213   
)

Definition at line 31 of file pg_tablespace.h.

32 {
33  NameData spcname; /* tablespace name */
34  Oid spcowner; /* owner of tablespace */
35 
36 #ifdef CATALOG_VARLEN /* variable-length fields start here */
37  aclitem spcacl[1]; /* access permissions */
38  text spcoptions[1]; /* per-tablespace options */
39 #endif
unsigned int Oid
Definition: postgres_ext.h:31
Definition: c.h:541
FormData_pg_tablespace
Definition: pg_tablespace.h:40
Definition: c.h:487

◆ DATA()

DATA ( insert  OID = 1663(pg_default PGUID _null_ _null_))

Variable Documentation

◆ FormData_pg_tablespace

FormData_pg_tablespace

Definition at line 40 of file pg_tablespace.h.