Header And Logo

PostgreSQL
| The world's most advanced open source database.

Defines | Typedefs | Functions | Variables

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.

Defines

#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

Define Documentation

#define Anum_pg_tablespace_spcacl   3

Definition at line 57 of file pg_tablespace.h.

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

#define Anum_pg_tablespace_spcname   1
#define Anum_pg_tablespace_spcoptions   4

Definition at line 58 of file pg_tablespace.h.

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

#define Anum_pg_tablespace_spcowner   2

Definition at line 56 of file pg_tablespace.h.

Referenced by CreateTableSpace().

#define DEFAULTTABLESPACE_OID   1663
#define GLOBALTABLESPACE_OID   1664
#define Natts_pg_tablespace   4

Definition at line 54 of file pg_tablespace.h.

#define TableSpaceRelationId   1213

Typedef Documentation

Definition at line 47 of file pg_tablespace.h.


Function Documentation

CATALOG ( pg_tablespace  ,
1213   
)

Definition at line 31 of file pg_tablespace.h.

{
    NameData    spcname;        /* tablespace name */
    Oid         spcowner;       /* owner of tablespace */

#ifdef CATALOG_VARLEN           /* variable-length fields start here */
    aclitem     spcacl[1];      /* access permissions */
    text        spcoptions[1];  /* per-tablespace options */
#endif
} FormData_pg_tablespace;

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

Variable Documentation

Definition at line 40 of file pg_tablespace.h.