aboutsummaryrefslogtreecommitdiff
path: root/src/pl/plpython/plpython.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-08-27 19:14:34 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-08-27 19:14:34 +0000
commite06fda0a8b6fa50ebd6183bfce4e8394dd8d7124 (patch)
treee1b270da82cc9fc60229195a53f5e93302c6d8a2 /src/pl/plpython/plpython.c
parentca1fd0ea5b10e133a3ed00594fa908d5b647fa3d (diff)
downloadpostgresql-e06fda0a8b6fa50ebd6183bfce4e8394dd8d7124.tar.gz
postgresql-e06fda0a8b6fa50ebd6183bfce4e8394dd8d7124.zip
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.
Diffstat (limited to 'src/pl/plpython/plpython.c')
0 files changed, 0 insertions, 0 deletions