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)
commit7e7e34da336662d9676fb673ad8305f0ba973faa
tree4414e1676cb10de18c8fe4f6927fe7bd91ff46dd
parentd8db88c2d687a952589fdaa70936be150629fe0c
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