]> granicus.if.org Git - postgresql/commit
Fallout from changing index locking rules: we can reduce the strength
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 1 Oct 2004 17:11:50 +0000 (17:11 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 1 Oct 2004 17:11:50 +0000 (17:11 +0000)
commitb1f8a37aa7b19f2e7a1965005503437dd15c7138
tree8ac3d79ad122280951af658a297a801a88535d8d
parent4c5e810fcda57940d1a7178389129591eb93d68e
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.
src/backend/catalog/index.c
src/backend/optimizer/util/plancat.c