pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Sargent <robjsargent@gmail.com>
To: Michael Harris <harmic@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Undetected Deadlock
Date: Mon, 24 Jan 2022 22:06:09 -0700
Message-ID: <21587598-F7BE-47FD-8FCF-C18E5095976B@gmail.com> (raw)
In-Reply-To: <CADofcAXak8nwRYXjwvXu_0ypbZaae=YU_VgTQ2QLfWwGMAOWCw@mail.gmail.com>
References: <CADofcAWbMrvgwSMqO4iG_iD3E2v8ZUrC-_crB41my=VMM02-CA@mail.gmail.com>
	<CADofcAXak8nwRYXjwvXu_0ypbZaae=YU_VgTQ2QLfWwGMAOWCw@mail.gmail.com>



> On Jan 24, 2022, at 10:02 PM, Michael Harris <harmic@gmail.com> wrote:
> 
> My apologies,
> 
> After posting this and looking at how it appears I realised that line
> wrapping makes the tables totally illegible.
> 
> Here they are again with all unnecessary columns removed and others shortened.
> 
> locktype | database |  relation  |   pid   |        mode         |
> granted |           waitstart           |     relation
> ----------+----------+------------+---------+---------------------+---------+-------------------------------+--------------------
> relation |   529986 | 1842228045 | 2130531 | AccessShareLock     | f
>     | 2022-01-19 00:32:32.626152+01 | st.ctr_table_efr_oa
> relation |   529986 | 1842228045 | 2128603 | AccessExclusiveLock | t
>     |                               | st.ctr_table_efr_oa
> relation |   529986 | 1842231489 | 2128603 | AccessExclusiveLock | f
>     | 2022-01-19 00:32:32.924694+01 | st.tpd_oa
> relation |   529986 | 1842231489 | 2130531 | AccessShareLock     | t
>     |                               | st.tpd_oa
> 
> 
>   pid   |    query_start     |   state_change     | wait_event_type |
> wait_event |                       query
> ---------+--------------------+--------------------+-----------------+------------+-------------------------------------------------------------
> 2128603 | 00:32:32.924413+01 | 00:32:32.924413+01 | Lock            |
> relation   | DROP TABLE st.tpd_oa_18929
> 2130531 | 00:32:32.625706+01 | 00:32:32.625708+01 | Lock            |
> relation   | DELETE FROM st.ctr_table_efr_oa_19010 WHERE ropid =
> 44788868
> 
> I hope this version is easier to read.
> 
> Cheers
> Mike
> On Tue, 25 Jan 2022 at 15:49, Michael Harris <harmic@gmail.com> wrote:
It’s definitely tidier, but on my mac Mail.app and on Thunderbird there is still a line wrap problem.  I don’t think that will prevent the experts from helping out.  I’m not one of them.






view thread (19+ messages)  latest in thread

Message-ID: <21587598-F7BE-47FD-8FCF-C18E5095976B@gmail.com>
Permalink:  ../21587598-F7BE-47FD-8FCF-C18E5095976B@gmail.com/
Also on:    postgresql.org/message-id/21587598-F7BE-47FD-8FCF-C18E5095976B@gmail.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: robjsargent@gmail.com, harmic@gmail.com
  Subject: Re: Undetected Deadlock
  In-Reply-To: <21587598-F7BE-47FD-8FCF-C18E5095976B@gmail.com>
  References: <CADofcAWbMrvgwSMqO4iG_iD3E2v8ZUrC-_crB41my=VMM02-CA@mail.gmail.com> <CADofcAXak8nwRYXjwvXu_0ypbZaae=YU_VgTQ2QLfWwGMAOWCw@mail.gmail.com> <21587598-F7BE-47FD-8FCF-C18E5095976B@gmail.com>

* 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