1 | /*------------------------------------------------------------------------- |
2 | * |
3 | * pg_default_acl_d.h |
4 | * Macro definitions for pg_default_acl |
5 | * |
6 | * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group |
7 | * Portions Copyright (c) 1994, Regents of the University of California |
8 | * |
9 | * NOTES |
10 | * ****************************** |
11 | * *** DO NOT EDIT THIS FILE! *** |
12 | * ****************************** |
13 | * |
14 | * It has been GENERATED by src/backend/catalog/genbki.pl |
15 | * |
16 | *------------------------------------------------------------------------- |
17 | */ |
18 | #ifndef PG_DEFAULT_ACL_D_H |
19 | #define PG_DEFAULT_ACL_D_H |
20 | |
21 | #define DefaultAclRelationId 826 |
22 | |
23 | #define Anum_pg_default_acl_oid 1 |
24 | #define Anum_pg_default_acl_defaclrole 2 |
25 | #define Anum_pg_default_acl_defaclnamespace 3 |
26 | #define Anum_pg_default_acl_defaclobjtype 4 |
27 | #define Anum_pg_default_acl_defaclacl 5 |
28 | |
29 | #define Natts_pg_default_acl 5 |
30 | |
31 | |
32 | /* |
33 | * Types of objects for which the user is allowed to specify default |
34 | * permissions through pg_default_acl. These codes are used in the |
35 | * defaclobjtype column. |
36 | */ |
37 | #define DEFACLOBJ_RELATION 'r' /* table, view */ |
38 | #define DEFACLOBJ_SEQUENCE 'S' /* sequence */ |
39 | #define DEFACLOBJ_FUNCTION 'f' /* function */ |
40 | #define DEFACLOBJ_TYPE 'T' /* type */ |
41 | #define DEFACLOBJ_NAMESPACE 'n' /* namespace */ |
42 | |
43 | |
44 | #endif /* PG_DEFAULT_ACL_D_H */ |
45 | |