Re: Locks - Mailing list pgsql-admin

From David G. Johnston
Subject Re: Locks
Date
Msg-id CAKFQuwYNb+Y1_FVXDYnrUSt3_NZiZ5CKGPKym_K_JPB91XFXpA@mail.gmail.com
Whole thread Raw
In response to Locks  (Yambu <hyambu@gmail.com>)
List pgsql-admin
On Monday, November 16, 2020, Yambu <hyambu@gmail.com> wrote:
Hi
How can i find out when a lock happened?
Im writing a function that will check why some queries ran slowly at particular times, so i want to know if i can store lock information somewhere and retrieve what time the lock happened?

No.  The cost/benefit of such a capability makes it seem undesirable.

David J.

pgsql-admin by date:

Previous
From: Yambu
Date:
Subject: Locks
Next
From: Alvaro Aguayo
Date:
Subject: RE: Locks