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, on pg_user_mapping using btree(oid oid_ops))
 
 DECLARE_UNIQUE_INDEX (pg_user_mapping_user_server_index, 175, UserMappingUserServerIndexId, on pg_user_mapping using btree(umuser oid_ops, umserver oid_ops))
 

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.

References BKI_LOOKUP, and BKI_LOOKUP_OPT.

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
unsigned int Oid
Definition: postgres_ext.h:31
FormData_pg_user_mapping
#define BKI_LOOKUP_OPT(catalog)
Definition: genbki.h:47
#define BKI_LOOKUP(catalog)
Definition: genbki.h:46
Definition: c.h:621

◆ DECLARE_TOAST()

DECLARE_TOAST ( pg_user_mapping  ,
4173  ,
4174   
)

◆ DECLARE_UNIQUE_INDEX()

DECLARE_UNIQUE_INDEX ( pg_user_mapping_user_server_index  ,
175  ,
UserMappingUserServerIndexId  ,
on pg_user_mapping using   btreeumuser oid_ops, umserver oid_ops 
)

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_user_mapping_oid_index  ,
174  ,
UserMappingOidIndexId  ,
on pg_user_mapping using   btreeoid oid_ops 
)

Variable Documentation

◆ FormData_pg_user_mapping

FormData_pg_user_mapping

Definition at line 41 of file pg_user_mapping.h.