Andres Freund <[email protected]> writes: > ISTM that we could move the call to InitDeadLockChecking() to the start of > CheckDeadLock(), before it acquires all the locks. That'd require making it > safe to call InitDeadLockChecking() multiple times, but that's obviously > trivial.
Hmph. Do we even need that to be persistent storage at all, rather
than just allocating it for the duration of CheckDeadLock?
regards, tom lane
