pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dmitry Koval <d.koval@postgrespro.ru>
To: David Rowley <dgrowleyml@gmail.com>
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18498: Locking a table from a trigger (with using two sessions) causes a deadlock: the bug or the feature?
Date: Fri, 7 Jun 2024 12:45:26 +0300
Message-ID: <2e10e3ff-2f59-429d-9db3-1611daa7a6b5@postgrespro.ru> (raw)
In-Reply-To: <CAApHDvpXSQ5-=G-bCTYCVNr6EFwdLHJt5ydrN8X14SJds0VzYA@mail.gmail.com>
References: <18498-b95f3ee4c156de45@postgresql.org>
	<CAApHDvqOkfS23ds1r_Sk3Za0TRGS8XYOy3rdyeZvarQ6=T6tMQ@mail.gmail.com>
	<CAApHDvpXSQ5-=G-bCTYCVNr6EFwdLHJt5ydrN8X14SJds0VzYA@mail.gmail.com>

David, thanks for the detailed explanation!
I missed the fact that there were two different locks.
Issue resolved.

-- 
With best regards,
Dmitry Koval

Postgres Professional: http://postgrespro.com





view thread (6+ messages)  latest in thread

Message-ID: <2e10e3ff-2f59-429d-9db3-1611daa7a6b5@postgrespro.ru>
Permalink:  ../2e10e3ff-2f59-429d-9db3-1611daa7a6b5@postgrespro.ru/
Also on:    postgresql.org/message-id/2e10e3ff-2f59-429d-9db3-1611daa7a6b5@postgrespro.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: d.koval@postgrespro.ru, dgrowleyml@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #18498: Locking a table from a trigger (with using two sessions) causes a deadlock: the bug or the feature?
  In-Reply-To: <2e10e3ff-2f59-429d-9db3-1611daa7a6b5@postgrespro.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox