postgresql/src/backend/rewrite
Tom Lane 5ac5980744 More cleanup after failed reduced-lock-levels-for-DDL feature.
Turns out that use of ShareUpdateExclusiveLock or ShareRowExclusiveLock
to protect DDL changes had gotten copied into several places that were
not touched by either of Simon's original patches for the feature, and
thus neither he nor I thought to revert them.  (Indeed, it appears that
two of these uses were committed *after* the reversion, which just goes
to show that git merging is no panacea.)  Change these places to use
AccessExclusiveLock again.  If we ever manage to resurrect that feature,
we're going to have to think a bit harder about how to keep lock level
usage in sync for DDL operations that aren't within the AlterTable
infrastructure.

Two of these bugs are only in HEAD, but one is in the 9.1 branch too.
Alvaro found one of them, I found the other two.
2011-10-21 13:50:30 -04:00
..
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
rewriteDefine.c Try to acquire relation locks in RangeVarGetRelid. 2011-07-08 22:19:30 -04:00
rewriteHandler.c Remove unnecessary #include references, per pgrminclude script. 2011-09-01 10:04:27 -04:00
rewriteManip.c Rearrange planner to save the whole PlannerInfo (subroot) for a subquery. 2011-09-03 15:36:24 -04:00
rewriteRemove.c More cleanup after failed reduced-lock-levels-for-DDL feature. 2011-10-21 13:50:30 -04:00
rewriteSupport.c Remove unnecessary #include references, per pgrminclude script. 2011-09-01 10:04:27 -04:00