]> granicus.if.org Git - postgresql/commit
Adjust index locking rules as per my proposal of earlier today. You
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 30 Sep 2004 23:21:26 +0000 (23:21 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 30 Sep 2004 23:21:26 +0000 (23:21 +0000)
commitd2af5f8a3e89f02dd54949fa42e2dcd31ddcd5c7
tree122463e70e53c0fd7ae418dc8eb9057ffedae130
parentd6748843069f7dd4205cd85b60977b5414647635
Adjust index locking rules as per my proposal of earlier today.  You
now are supposed to take some kind of lock on an index whenever you
are going to access the index contents, rather than relying only on a
lock on the parent table.
src/backend/access/heap/tuptoaster.c
src/backend/access/index/indexam.c
src/backend/commands/analyze.c
src/backend/commands/vacuum.c
src/backend/commands/vacuumlazy.c
src/backend/executor/execUtils.c
src/include/commands/vacuum.h