PostgreSQL Source Code  git master
pg_user_mapping.h File Reference
#include "catalog/genbki.h"
#include "catalog/pg_user_mapping_d.h"
Include dependency graph for pg_user_mapping.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef FormData_pg_user_mappingForm_pg_user_mapping
 

Functions

 CATALOG (pg_user_mapping, 1418, UserMappingRelationId)
 
 DECLARE_TOAST (pg_user_mapping, 4173, 4174)
 
 DECLARE_UNIQUE_INDEX_PKEY (pg_user_mapping_oid_index, 174, UserMappingOidIndexId, pg_user_mapping, btree(oid oid_ops))
 
 DECLARE_UNIQUE_INDEX (pg_user_mapping_user_server_index, 175, UserMappingUserServerIndexId, pg_user_mapping, btree(umuser oid_ops, umserver oid_ops))
 
 MAKE_SYSCACHE (USERMAPPINGOID, pg_user_mapping_oid_index, 2)
 
 MAKE_SYSCACHE (USERMAPPINGUSERSERVER, pg_user_mapping_user_server_index, 2)
 

Variables

 FormData_pg_user_mapping
 

Typedef Documentation

◆ Form_pg_user_mapping

Definition at line 48 of file pg_user_mapping.h.

Function Documentation

◆ CATALOG()

CATALOG ( pg_user_mapping  ,
1418  ,
UserMappingRelationId   
)

Definition at line 28 of file pg_user_mapping.h.

29 {
30  Oid oid; /* oid */
31 
32  Oid umuser BKI_LOOKUP_OPT(pg_authid); /* Id of the user,
33  * InvalidOid if PUBLIC is
34  * wanted */
35  Oid umserver BKI_LOOKUP(pg_foreign_server); /* server of this
36  * mapping */
37 
38 #ifdef CATALOG_VARLEN /* variable-length fields start here */
39  text umoptions[1]; /* user mapping options */
40 #endif
#define BKI_LOOKUP(catalog)
Definition: genbki.h:46
#define BKI_LOOKUP_OPT(catalog)
Definition: genbki.h:47
FormData_pg_user_mapping
unsigned int Oid
Definition: postgres_ext.h:31
Definition: c.h:641

References BKI_LOOKUP, and BKI_LOOKUP_OPT.

◆ DECLARE_TOAST()

DECLARE_TOAST ( pg_user_mapping  ,
4173  ,
4174   
)

◆ DECLARE_UNIQUE_INDEX()

DECLARE_UNIQUE_INDEX ( pg_user_mapping_user_server_index  ,
175  ,
UserMappingUserServerIndexId  ,
pg_user_mapping  ,
btree(umuser oid_ops, umserver oid_ops)   
)

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_user_mapping_oid_index  ,
174  ,
UserMappingOidIndexId  ,
pg_user_mapping  ,
btree(oid oid_ops)   
)

◆ MAKE_SYSCACHE() [1/2]

MAKE_SYSCACHE ( USERMAPPINGOID  ,
pg_user_mapping_oid_index  ,
 
)

◆ MAKE_SYSCACHE() [2/2]

MAKE_SYSCACHE ( USERMAPPINGUSERSERVER  ,
pg_user_mapping_user_server_index  ,
 
)

Variable Documentation

◆ FormData_pg_user_mapping

FormData_pg_user_mapping

Definition at line 41 of file pg_user_mapping.h.