Bruce Momjian <br...@momjian.us> writes: > Uh, was this ever addressed? I don't see the patch applied or the code > in this area modified.
This patch as-is would surely be disastrous: having LockAcquire try to open the relcache entry for the thing we're trying to lock is going to be circular in at least some cases. I'm not convinced that there's a problem worth solving here, but if there is, it'd have to be done in some other way. regards, tom lane