postgresql/src
Stephen Frost e414ba93ad Fix Var handling for security barrier views
In some cases, not all Vars were being correctly marked as having been
modified for updatable security barrier views, which resulted in invalid
plans (eg: when security barrier views were created over top of
inheiritance structures).

In passing, be sure to update both varattno and varonattno, as _equalVar
won't consider the Vars identical otherwise.  This isn't known to cause
any issues with updatable security barrier views, but was noticed as
missing while working on RLS and makes sense to get fixed.

Back-patch to 9.4 where updatable security barrier views were
introduced.
2014-08-26 23:08:41 -04:00
..
backend Fix Var handling for security barrier views 2014-08-26 23:08:41 -04:00
bin Show schema names in pg_dump verbose output. 2014-08-26 11:50:48 +03:00
common Small message fixes 2014-08-09 00:07:00 -04:00
include Mark IsBinaryUpgrade as PGDLLIMPORT to fix windows builds after a7ae1dc. 2014-08-26 15:25:18 +02:00
interfaces Install libpq DLL with $(INSTALL_SHLIB). 2014-08-18 23:00:38 -04:00
makefiles Add file version information to most installed Windows binaries. 2014-07-14 14:07:52 -04:00
pl Small message fixes 2014-08-09 00:07:00 -04:00
port Report success when Windows kill() emulation signals an exiting process. 2014-07-23 00:35:13 -04:00
template Remove Alpha and Tru64 support. 2014-06-28 21:46:15 +02:00
test Fix superuser concurrent refresh of matview owned by another. 2014-08-26 09:56:26 -05:00
timezone Finish adding file version information to installed Windows binaries. 2014-08-18 22:59:53 -04:00
tools Rework 'MOVE ALL' to 'ALTER .. ALL IN TABLESPACE' 2014-08-21 19:06:17 -04:00
tutorial Adjust blank lines around PG_MODULE_MAGIC defines, for consistency 2014-07-10 14:02:08 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
Makefile.global.in Set shared library path for in-tree TAP tests 2014-08-15 00:01:14 -04:00
Makefile.shlib Remove Alpha and Tru64 support. 2014-06-28 21:46:15 +02:00
nls-global.mk Setup error context callback for transaction lock waits 2014-03-19 15:10:36 -03:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00