postgresql/src
Tom Lane 111cfdadcf Put back AcceptInvalidationMessages calls in heap_openrv(_extended).
These calls were removed in commit 4240e429d0
as part of a general refactoring and improvement of DDL locking.  However,
there's a problem not solved by the rewrite, which is that GRANT/REVOKE
update pg_class.relacl without taking any particular lock on the target
table as such.  If another backend fails to do AcceptInvalidationMessages,
it won't notice a recently-committed change in ACLs.  Bug #7557 from Piotr
Czachur demonstrates that there's at least one code path in 9.2.0 in which
a command fails to do any AcceptInvalidationMessages calls at all, if the
current transaction already holds all the locks it will need.

Since we're hard up against the release deadline for 9.2.1, fix this by
putting back the AcceptInvalidationMessages calls in heap_openrv and
heap_openrv_extended, thereby restoring the historical behavior in this
area.  We ought to look for a more elegant and perhaps more bulletproof
solution, but there's no time for that right now.
2012-09-19 17:10:44 -04:00
..
backend Put back AcceptInvalidationMessages calls in heap_openrv(_extended). 2012-09-19 17:10:44 -04:00
bin Translation updates 2012-09-19 00:03:00 -04:00
include Fix a couple other leftover uses of 'conisonly' terminology. 2012-09-12 15:12:43 -04:00
interfaces Use .NOTPARALLEL in ecpg/Makefile to avoid a gmake parallelism bug. 2012-09-09 15:09:04 -04:00
makefiles Remove BSD/OS (BSDi) port. There are no known users upgrading to 2012-05-03 10:58:44 -04:00
pl Back-patch fix and test case for bug #7516. 2012-09-14 11:50:02 -04:00
port Fix typo in comment for pclose_check() function. 2012-09-12 22:33:30 -05:00
template Remove BSD/OS (BSDi) port. There are no known users upgrading to 2012-05-03 10:58:44 -04:00
test Fix planning of btree index scans using ScalarArrayOpExpr quals. 2012-09-18 12:20:43 -04:00
timezone Update time zone data files to tzdata release 2012f. 2012-09-19 10:45:03 -04:00
tools Add vcregress.pl target for checking pg_upgrade. 2012-09-10 12:51:24 -04:00
tutorial Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02: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 Fix some oversights in distprep and maintainer-clean targets. 2011-03-10 00:04:05 -05:00
Makefile.global.in Fix pg_config.h make rule 2012-05-07 21:28:38 +03:00
Makefile.shlib Remove BSD/OS (BSDi) port. There are no known users upgrading to 2012-05-03 10:58:44 -04:00
nls-global.mk Lots of doc corrections. 2012-04-23 22:43:09 -04:00
win32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00