postgresql/contrib/sepgsql
Andres Freund 2c8f4836db Represent columns requiring insert and update privileges indentently.
Previously, relation range table entries used a single Bitmapset field
representing which columns required either UPDATE or INSERT privileges,
despite the fact that INSERT and UPDATE privileges are separately
cataloged, and may be independently held.  As statements so far required
either insert or update privileges but never both, that was
sufficient. The required permission could be inferred from the top level
statement run.

The upcoming INSERT ... ON CONFLICT UPDATE feature needs to
independently check for both privileges in one statement though, so that
is not sufficient anymore.

Bumps catversion as stored rules change.

Author: Peter Geoghegan
Reviewed-By: Andres Freund
2015-05-08 00:20:46 +02:00
..
expected sepgsql: One more getObjectIdentity in lieu of getObjectDescription. 2013-04-17 09:52:59 -04:00
sql sepgsql: Enforce db_procedure:{execute} permission. 2013-04-12 08:58:01 -04:00
.gitignore Minor sepgsql regression test fixes. 2011-02-02 23:46:51 -05:00
Makefile Add file version information to most installed Windows binaries. 2014-07-14 14:07:52 -04:00
database.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
dml.c Represent columns requiring insert and update privileges indentently. 2015-05-08 00:20:46 +02:00
hooks.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
label.c sepgsql: Improve error message when unsupported object type is labeled. 2015-03-11 12:12:10 -04:00
launcher Update copyright for 2015 2015-01-06 11:43:47 -05:00
proc.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
relation.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
schema.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
selinux.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
sepgsql-regtest.te sepgsql: Enforce db_procedure:{execute} permission. 2013-04-12 08:58:01 -04:00
sepgsql.h Update copyright for 2015 2015-01-06 11:43:47 -05:00
sepgsql.sql.in sepgsql_setcon(). 2012-03-15 16:08:40 -04:00
test_sepgsql sepgsql: Minor improvement to test script, doc fix. 2013-04-17 09:55:24 -04:00
uavc.c Update copyright for 2015 2015-01-06 11:43:47 -05:00