git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: ca1fd0e) | patch
Add a function GetLockConflicts() to lock.c to report xacts holding
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.
src/backend/commands/indexcmds.c diff | blob | blame | history
src/backend/storage/lmgr/lock.c diff | blob | blame | history
src/include/storage/lock.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /