Michael Fuhr <mike@xxxxxxxx> writes: > It sounds like the best a check could do would be the amazingly > astute "some transaction held a lock on this row at one time and > may or may not still hold that lock, and even if it did when you > checked it might have gone away by now and some other transaction > that you don't know about might hold a lock." > Does that about sum it up? ;-) Yeah. Really, if you want to inspect the state of a lock, the only meaningful operation is to try to acquire the lock. It's reasonable to offer an "acquire only if immediately available" operation --- but reporting on the instantaneous state seems pretty useless by itself. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your message can get through to the mailing list cleanly