git.postgresql.org Git - postgresql.git/commit
2006年8月27日 19:14:34 +0000 (19:14 +0000)
2006年8月27日 19:14:34 +0000 (19:14 +0000)
commit e06fda0a8b6fa50ebd6183bfce4e8394dd8d7124
Add a function GetLockConflicts() to lock.c to report xacts holding
locks that would conflict with a specified lock request, without
actually trying to get that lock. Use this instead of the former ad hoc
method of doing the first wait step in CREATE INDEX CONCURRENTLY.
Fixes problem with undetected deadlock and in many cases will allow the
index creation to proceed sooner than it otherwise could've. Per
discussion with Greg Stark.
This is the main PostgreSQL git repository.
RSS
Atom