Re: Locks

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Yambu <hyambu(at)gmail(dot)com>
Cc: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Locks
Date: 2020-11-16 17:59:54
Message-ID: CAKFQuwYNb+Y1_FVXDYnrUSt3_NZiZ5CKGPKym_K_JPB91XFXpA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Monday, November 16, 2020, Yambu <hyambu(at)gmail(dot)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.

In response to

  • Locks at 2020-11-16 17:50:40 from Yambu

Browse pgsql-admin by date

  From Date Subject
Next Message Alvaro Aguayo 2020-11-16 18:06:12 RE: Locks
Previous Message Yambu 2020-11-16 17:50:40 Locks