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.

Macros

#define UserMappingOidIndexId   174
 
#define UserMappingUserServerIndexId   175
 

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

Variables

 FormData_pg_user_mapping
 

Macro Definition Documentation

◆ UserMappingOidIndexId

#define UserMappingOidIndexId   174

Definition at line 51 of file pg_user_mapping.h.

Referenced by CreateUserMapping().

◆ UserMappingUserServerIndexId

#define UserMappingUserServerIndexId   175

Definition at line 53 of file pg_user_mapping.h.

Typedef Documentation

◆ Form_pg_user_mapping

Definition at line 46 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; /* Id of the user, InvalidOid if PUBLIC is
33  * wanted */
34  Oid umserver; /* server of this mapping */
35 
36 #ifdef CATALOG_VARLEN /* variable-length fields start here */
37  text umoptions[1]; /* user mapping options */
38 #endif
unsigned int Oid
Definition: postgres_ext.h:31
FormData_pg_user_mapping
Definition: c.h:617

◆ DECLARE_TOAST()

DECLARE_TOAST ( pg_user_mapping  ,
4173  ,
4174   
)

◆ DECLARE_UNIQUE_INDEX() [1/2]

DECLARE_UNIQUE_INDEX ( pg_user_mapping_oid_index  ,
174  ,
on pg_user_mapping using   btreeoid oid_ops 
)

◆ DECLARE_UNIQUE_INDEX() [2/2]

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

Variable Documentation

◆ FormData_pg_user_mapping

FormData_pg_user_mapping

Definition at line 39 of file pg_user_mapping.h.