PostgreSQL Source Code: src/include/catalog/pg_authid.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20#ifndef PG_AUTHID_H

21#define PG_AUTHID_H

22

24#include "catalog/pg_authid_d.h"

25

26

27

28

29

30

32{

33 Oid oid;

35 bool rolsuper;

36 bool rolinherit;

38 bool rolcreatedb;

39 bool rolcanlogin;

40 bool rolreplication;

43

44

45#ifdef CATALOG_VARLEN

46 text rolpassword;

47 timestamptz rolvaliduntil;

48#endif

50

51

52

53

54

55

57

60

63

64#endif

#define BKI_SHARED_RELATION

#define BKI_ROWTYPE_OID(oid, oidmacro)

MAKE_SYSCACHE(AUTHNAME, pg_authid_rolname_index, 8)

DECLARE_UNIQUE_INDEX_PKEY(pg_authid_oid_index, 2677, AuthIdOidIndexId, pg_authid, btree(oid oid_ops))

FormData_pg_authid * Form_pg_authid

AuthIdRelation_Rowtype_Id BKI_SCHEMA_MACRO

DECLARE_UNIQUE_INDEX(pg_authid_rolname_index, 2676, AuthIdRolnameIndexId, pg_authid, btree(rolname name_ops))

CATALOG(pg_authid, 1260, AuthIdRelationId) BKI_SHARED_RELATION BKI_ROWTYPE_OID(2842