Re: Deadlock between concurrent index builds on different tables
Jeremy Finzel <finzelj@gmail.com>
From: Jeremy Finzel <finzelj@gmail.com>
To: Martin Marques <martin.marques@2ndquadrant.com>
Cc: Postgres General <pgsql-general@postgresql.org>
Date: 2017-12-23T18:13:20Z
Lists: pgsql-general
> > The only thing I can think of is that there's a foreign key from foo to > bar(id), but the create index on bar shouldn't prevent a share lock on > foo, even if such a restriction exists. > > -- > Martín Marqués http://www.2ndQuadrant.com/ > PostgreSQL Development, 24x7 Support, Training & Services > No, there are no foreign keys at all in this db. It is a logical replica. Thanks, Jeremy
Commits
-
Fix deadlock hazard in CREATE INDEX CONCURRENTLY
- fb7b43903e91 9.6.7 landed
- 82f1c3b7d1e0 9.5.11 landed
- 6d2a9ae0ed17 10.2 landed
- 54eff5311d7c 11.0 landed
- 47a3a1317873 9.4.16 landed