1996-08-28 03:59:28 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* pg_user.h--
|
1997-09-07 07:04:48 +02:00
|
|
|
* definition of the system "user" relation (pg_user)
|
|
|
|
* along with the relation's initial contents.
|
1996-08-28 03:59:28 +02:00
|
|
|
*
|
|
|
|
*
|
|
|
|
* Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
1997-09-08 04:41:22 +02:00
|
|
|
* $Id: pg_user.h,v 1.5 1997/09/08 02:35:34 momjian Exp $
|
1996-08-28 03:59:28 +02:00
|
|
|
*
|
|
|
|
* NOTES
|
1997-09-07 07:04:48 +02:00
|
|
|
* the genbki.sh script reads this file and generates .bki
|
|
|
|
* information from the DATA() statements.
|
1996-08-28 03:59:28 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef PG_USER_H
|
|
|
|
#define PG_USER_H
|
|
|
|
|
1996-11-04 00:49:07 +01:00
|
|
|
|
|
|
|
/* Prototype required for superuser() from superuser.c */
|
|
|
|
|
1997-09-08 04:41:22 +02:00
|
|
|
bool superuser(void);
|
1996-08-28 03:59:28 +02:00
|
|
|
|
|
|
|
/* ----------------
|
1997-09-07 07:04:48 +02:00
|
|
|
* pg_user definition. cpp turns this into
|
|
|
|
* typedef struct FormData_pg_user
|
1996-08-28 03:59:28 +02:00
|
|
|
* ----------------
|
1997-09-07 07:04:48 +02:00
|
|
|
*/
|
|
|
|
CATALOG(pg_user) BOOTSTRAP
|
|
|
|
{
|
1997-09-08 04:41:22 +02:00
|
|
|
NameData usename;
|
|
|
|
int4 usesysid;
|
|
|
|
bool usecreatedb;
|
|
|
|
bool usetrace;
|
|
|
|
bool usesuper;
|
|
|
|
bool usecatupd;
|
1996-08-28 03:59:28 +02:00
|
|
|
} FormData_pg_user;
|
|
|
|
|
|
|
|
/* ----------------
|
1997-09-07 07:04:48 +02:00
|
|
|
* Form_pg_user corresponds to a pointer to a tuple with
|
|
|
|
* the format of pg_user relation.
|
1996-08-28 03:59:28 +02:00
|
|
|
* ----------------
|
|
|
|
*/
|
1997-09-07 07:04:48 +02:00
|
|
|
typedef FormData_pg_user *Form_pg_user;
|
1996-08-28 03:59:28 +02:00
|
|
|
|
|
|
|
/* ----------------
|
1997-09-07 07:04:48 +02:00
|
|
|
* compiler constants for pg_user
|
1996-08-28 03:59:28 +02:00
|
|
|
* ----------------
|
|
|
|
*/
|
1997-09-07 07:04:48 +02:00
|
|
|
#define Natts_pg_user 6
|
|
|
|
#define Anum_pg_user_usename 1
|
|
|
|
#define Anum_pg_user_usesysid 2
|
|
|
|
#define Anum_pg_user_usecreatedb 3
|
|
|
|
#define Anum_pg_user_usetrace 4
|
|
|
|
#define Anum_pg_user_usesuper 5
|
|
|
|
#define Anum_pg_user_usecatupd 6
|
1996-08-28 03:59:28 +02:00
|
|
|
|
|
|
|
/* ----------------
|
1997-09-07 07:04:48 +02:00
|
|
|
* initial contents of pg_user
|
1996-08-28 03:59:28 +02:00
|
|
|
* ----------------
|
|
|
|
*/
|
|
|
|
DATA(insert OID = 0 ( postgres PGUID t t t t ));
|
|
|
|
|
|
|
|
BKI_BEGIN
|
|
|
|
#ifdef ALLOW_PG_GROUP
|
|
|
|
BKI_END
|
|
|
|
|
|
|
|
DATA(insert OID = 0 ( mike 799 t t t t ));
|
|
|
|
DATA(insert OID = 0 ( mao 1806 t t t t ));
|
|
|
|
DATA(insert OID = 0 ( hellers 1089 t t t t ));
|
|
|
|
DATA(insert OID = 0 ( joey 5209 t t t t ));
|
|
|
|
DATA(insert OID = 0 ( jolly 5443 t t t t ));
|
|
|
|
DATA(insert OID = 0 ( sunita 6559 t t t t ));
|
|
|
|
DATA(insert OID = 0 ( paxson 3029 t t t t ));
|
|
|
|
DATA(insert OID = 0 ( marc 2435 t t t t ));
|
|
|
|
DATA(insert OID = 0 ( jiangwu 6124 t t t t ));
|
|
|
|
DATA(insert OID = 0 ( aoki 2360 t t t t ));
|
|
|
|
DATA(insert OID = 0 ( avi 31080 t t t t ));
|
|
|
|
DATA(insert OID = 0 ( kristin 1123 t t t t ));
|
|
|
|
DATA(insert OID = 0 ( andrew 5229 t t t t ));
|
|
|
|
DATA(insert OID = 0 ( nobuko 5493 t t t t ));
|
|
|
|
DATA(insert OID = 0 ( hartzell 6676 t t t t ));
|
|
|
|
DATA(insert OID = 0 ( devine 6724 t t t t ));
|
|
|
|
DATA(insert OID = 0 ( boris 6396 t t t t ));
|
|
|
|
DATA(insert OID = 0 ( sklower 354 t t t t ));
|
|
|
|
DATA(insert OID = 0 ( marcel 31113 t t t t ));
|
|
|
|
DATA(insert OID = 0 ( ginger 3692 t t t t ));
|
|
|
|
DATA(insert OID = 0 ( woodruff 31026 t t t t ));
|
|
|
|
DATA(insert OID = 0 ( searcher 8261 t t t t ));
|
1997-09-07 07:04:48 +02:00
|
|
|
|
1996-08-28 03:59:28 +02:00
|
|
|
BKI_BEGIN
|
1997-09-07 07:04:48 +02:00
|
|
|
#endif /* ALLOW_PG_GROUP */
|
1996-08-28 03:59:28 +02:00
|
|
|
BKI_END
|
|
|
|
|
1997-09-07 07:04:48 +02:00
|
|
|
#endif /* PG_USER_H */
|