mirror of
https://github.com/postgres/postgres.git
synced 2026-03-30 06:16:39 -04:00
Use the term "system catalog" rather than "system relation" in assorted places where it's clearly referring to a table rather than, say, an index. Use more natural word order in the header boilerplate, improve some of the one-liner catalog descriptions, and fix assorted random deviations from the normal boilerplate. All purely neatnik-ism, but why not. John Naylor, some additional cleanup by me Discussion: https://postgr.es/m/CAJVSVGUeJmFB3h-NJ18P32NPa+kzC165nm7GSoGHfPaN80Wxcw@mail.gmail.com
46 lines
1.3 KiB
C
46 lines
1.3 KiB
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* pg_user_mapping.h
|
|
* definition of the "user mapping" system catalog (pg_user_mapping)
|
|
*
|
|
* Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* src/include/catalog/pg_user_mapping.h
|
|
*
|
|
* NOTES
|
|
* The Catalog.pm module reads this file and derives schema
|
|
* information.
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef PG_USER_MAPPING_H
|
|
#define PG_USER_MAPPING_H
|
|
|
|
#include "catalog/genbki.h"
|
|
#include "catalog/pg_user_mapping_d.h"
|
|
|
|
/* ----------------
|
|
* pg_user_mapping definition. cpp turns this into
|
|
* typedef struct FormData_pg_user_mapping
|
|
* ----------------
|
|
*/
|
|
CATALOG(pg_user_mapping,1418,UserMappingRelationId)
|
|
{
|
|
Oid umuser; /* Id of the user, InvalidOid if PUBLIC is
|
|
* wanted */
|
|
Oid umserver; /* server of this mapping */
|
|
|
|
#ifdef CATALOG_VARLEN /* variable-length fields start here */
|
|
text umoptions[1]; /* user mapping options */
|
|
#endif
|
|
} FormData_pg_user_mapping;
|
|
|
|
/* ----------------
|
|
* Form_pg_user_mapping corresponds to a pointer to a tuple with
|
|
* the format of pg_user_mapping relation.
|
|
* ----------------
|
|
*/
|
|
typedef FormData_pg_user_mapping *Form_pg_user_mapping;
|
|
|
|
#endif /* PG_USER_MAPPING_H */
|