]> granicus.if.org Git - postgresql/commit
Fix CREATE INDEX CONCURRENTLY to not deadlock against an automatic or manual
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 9 Jan 2008 21:52:36 +0000 (21:52 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 9 Jan 2008 21:52:36 +0000 (21:52 +0000)
commitceb9360067221fb8ad26bdfa0c3c08b2f355044e
tree80f01bcdd9e1a1a8312cb1fd8664f1f224377cbc
parent6a6522529fb0c1b42050f322d37d91df14d7994c
Fix CREATE INDEX CONCURRENTLY to not deadlock against an automatic or manual
VACUUM that is blocked waiting to get lock on the table being indexed.
Per report and fix suggestion from Greg Stark.
src/backend/commands/indexcmds.c
src/backend/storage/ipc/procarray.c
src/include/storage/procarray.h