postgresql/src/backend
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
..
access Improve BRIN infra, minmax opclass and regression test 2015-05-07 13:02:22 -03:00
bootstrap Protect against multixact members wraparound 2015-04-28 11:32:53 -03:00
catalog Create an infrastructure for parallel computation in PostgreSQL. 2015-04-30 15:02:14 -04:00
commands Represent columns requiring insert and update privileges indentently. 2015-05-08 00:20:46 +02:00
executor Represent columns requiring insert and update privileges indentently. 2015-05-08 00:20:46 +02:00
foreign Allow FDWs and custom scan providers to replace joins with scans. 2015-05-01 08:50:35 -04:00
lib Fix a bug in pairing heap removal code. 2015-02-17 22:55:53 +02:00
libpq Create an infrastructure for parallel computation in PostgreSQL. 2015-04-30 15:02:14 -04:00
main Don't require users of src/port/gettimeofday.c to initialize it. 2015-02-21 12:17:04 -05:00
nodes Represent columns requiring insert and update privileges indentently. 2015-05-08 00:20:46 +02:00
optimizer Represent columns requiring insert and update privileges indentently. 2015-05-08 00:20:46 +02:00
parser Represent columns requiring insert and update privileges indentently. 2015-05-08 00:20:46 +02:00
po Translation updates 2015-02-01 23:23:40 -05:00
port Remove the option to service interrupts during PGSemaphoreLock(). 2015-02-03 23:25:00 +01:00
postmaster Create an infrastructure for parallel computation in PostgreSQL. 2015-04-30 15:02:14 -04:00
regex Replace a bunch more uses of strncpy() with safer coding. 2015-01-24 13:05:42 -05:00
replication Fix typos 2015-05-04 20:40:19 -04:00
rewrite Represent columns requiring insert and update privileges indentently. 2015-05-08 00:20:46 +02:00
snowball Update copyright for 2015 2015-01-06 11:43:47 -05:00
storage Fix some problems with patch to fsync the data directory. 2015-05-05 09:29:49 -04:00
tcop Create an infrastructure for parallel computation in PostgreSQL. 2015-04-30 15:02:14 -04:00
tsearch Define integer limits independently from the system definitions. 2015-04-02 17:43:35 +02:00
utils Fix indentation that could mask a future bug 2015-05-07 11:41:26 +02:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
Makefile Update copyright for 2015 2015-01-06 11:43:47 -05:00
common.mk Remove maintainer-check target, fold into normal build 2013-10-10 20:11:56 -04:00
nls.mk Translation updates 2015-02-01 23:23:40 -05:00