pgsql-server: Fallout from changing index locking rules: we can reduce
Started by Tom Laneabout 22 years ago1 messagescommitters
Stepping through
Log Message:
-----------
Fallout from changing index locking rules: we can reduce the strength
of locking used by REINDEX. REINDEX needs only ShareLock on the parent
table, same as CREATE INDEX, plus an exclusive lock on the specific index
being processed.
Modified Files:
--------------
pgsql-server/src/backend/catalog:
index.c (r1.239 -> r1.240)
(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/catalog/index.c.diff?r1=1.239&r2=1.240)
pgsql-server/src/backend/optimizer/util:
plancat.c (r1.96 -> r1.97)
(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/optimizer/util/plancat.c.diff?r1=1.96&r2=1.97)