Re: Commit with wait event on advisory lock! - Mailing list pgsql-admin

From Jeff Janes
Subject Re: Commit with wait event on advisory lock!
Date
Msg-id CAMkU=1xhQfTfD+9HvumZVF1QeMZcj9HX3itctxDa=1gBY7SUng@mail.gmail.com
Whole thread Raw
In response to Commit with wait event on advisory lock!  (<msalais@msym.fr>)
List pgsql-admin
On Tue, Jan 21, 2025 at 9:48 AM <msalais@msym.fr> wrote:

Hi all,

 

I have long commits on a production database. To know why this happens I organized a snapshot system on table pg_stat_activity.

When I check the result I have this row in it:

 

postgres=# select * from public.fdj_ms_slow_stmts where pid = 2285947 \gx


What is the full version()?  What is the query used to populate this snapshot table?  Are the advisory locks being used as session-level locks or transaction-level locks?

Cheers,

Jeff

pgsql-admin by date:

Previous
From: Gurjeet Singh
Date:
Subject: Re: Is there a way to check if objects are created with quotes or not?
Next
From: shammat@gmx.net
Date:
Subject: Re: Is there a way to check if objects are created with quotes or not?