diff options
author | Marc G. Fournier <scrappy@hub.org> | 1998-02-21 06:32:15 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1998-02-21 06:32:15 +0000 |
commit | 7b30490bc9cebef913f6f95cd0487a3c6989dafa (patch) | |
tree | a826fdf123b0782acf3c114f8b4287fd3f774015 /src/include/nodes/parsenodes.h | |
parent | 734328840c636d056d6d0a20bdde2af317d4e110 (diff) |
First step done,
below is the patch to have views to override the permission
checks for the accessed tables. Now we can do the following:
CREATE VIEW db_user AS SELECT
usename,
usesysid,
usecreatedb,
usetrace,
usecatupd,
'**********'::text as passwd,
valuntil
FROM pg_user;
REVOKE ALL ON pg_user FROM public;
REVOKE ALL ON db_user FROM public;
GRANT SELECT ON db_user TO public;
Diffstat (limited to 'src/include/nodes/parsenodes.h')
-rw-r--r-- | src/include/nodes/parsenodes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index 108949f8c78..f91e1153732 100644 --- a/src/include/nodes/parsenodes.h +++ b/src/include/nodes/parsenodes.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: parsenodes.h,v 1.47 1998/02/10 16:04:26 momjian Exp $ + * $Id: parsenodes.h,v 1.48 1998/02/21 06:32:02 scrappy Exp $ * *------------------------------------------------------------------------- */ @@ -864,6 +864,7 @@ typedef struct RangeTblEntry Oid relid; bool inh; /* inheritance? */ bool inFromCl; /* comes from From Clause */ + bool skipAcl; /* skip ACL check in executor */ } RangeTblEntry; /* |