"Tom Lane" <tgl@xxxxxxxxxxxxx> writes: > I didn't have any luck reproducing either of these behaviors --- maybe > it's data-dependent. Can you extract a test case? I haven't been able to reproduce this either but I produced an entirely different problem: postgres=# create index concurrently dg5 on doc using gin (to_tsvector('english',d)); ERROR: deadlock detected DETAIL: Process 7076 waits for ShareLock on unrecognized locktag type 5; blocked by process 10497. Process 10497 waits for ShareUpdateExclusiveLock on relation 24656 of database 11511; blocked by process 7076. -- Gregory Stark EnterpriseDB http://www.enterprisedb.com Ask me about EnterpriseDB's Slony Replication support! ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend