CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl@svr1.postgresql.org 04/01/14 19:01:55
Modified files:
src/backend/commands: view.c
src/backend/executor: execMain.c nodeSubplan.c
src/backend/nodes: copyfuncs.c equalfuncs.c outfuncs.c
readfuncs.c
src/backend/optimizer/path: allpaths.c
src/backend/parser: analyze.c parse_clause.c parse_relation.c
src/backend/rewrite: rewriteDefine.c rewriteHandler.c
src/include/catalog: catversion.h
src/include/executor: executor.h
src/include/nodes: parsenodes.h
src/include/parser: parse_clause.h
src/include/utils: acl.h
Log message:
Fix permission-checking bug reported by Tim Burgess 10-Feb-03 (this time
for sure...). Rather than relying on the query context of a rangetable
entry to identify what permissions it wants checked, store a full AclMode
mask in each RTE, and check exactly those bits. This allows an RTE
specifying, say, INSERT privilege on a view to be copied into a derived
UPDATE query without changing meaning. Per recent discussion thread.
initdb forced due to change of stored rule representation.