Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nCE26-0001rb-Rf for pgsql-general@arkaria.postgresql.org; Tue, 25 Jan 2022 05:06:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nCE25-0004kC-7M for pgsql-general@arkaria.postgresql.org; Tue, 25 Jan 2022 05:06:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nCE24-0004iU-Tf for pgsql-general@lists.postgresql.org; Tue, 25 Jan 2022 05:06:16 +0000 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nCE21-0008P8-2h for pgsql-general@lists.postgresql.org; Tue, 25 Jan 2022 05:06:16 +0000 Received: by mail-pl1-x631.google.com with SMTP id y17so7703677plg.7 for ; Mon, 24 Jan 2022 21:06:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=TT7rx4iMhy9LDjWtpiGpneuNJuIqzJQUtFbX6vRTHDU=; b=cFFaCPwdSrNsDgv1q2T8blNz7HhitVePh+enKAJ1OoMakAVEk63+fgfBJ1YqVNREqB hFMMF3uhMzdpDjjjWoawk5TNv1QmVr8xmm5BA41mIZpSz9t1DDX7EHaQYwPlzTpX2eE+ /wYBOq6svJ4wrNgyp4bAPnd0Wl9CVl6UiA7wjbmo6tC2m4M+pIuKRyFHtveJ9DM6Pr+J b+G9ioL5xN8/SU1jVZvP/SHEQXKFupiI0ImGbDPIzXTTaLCP9PjECCvwaXAv0IBHu1CG Qm0glDYGrwqKfSc/m9A/3LB6wh8vrkJYxo6JtLibI91scBJI90mKMFWdEN2LMPAPWZSK 3seg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=TT7rx4iMhy9LDjWtpiGpneuNJuIqzJQUtFbX6vRTHDU=; b=DkrnW4rSxYU7l17KpVwB3dgT5ieBAHre5u/8x075JmCRgUoLelF1/MlrWCGoDuwffY zaVGFFFZ0N2S0+Xwh/c8YCqbOdu+7H3TngrY/HwnmbiUq3TfhLykayRr50K2zP+k7bp5 +LH5BU8x+c+3ZNH7LaC37UQbdCyrOG0aFEMOGLDgQmi9RGbx4xUfCzj/HMEZYTU93XxX dLhgnBGHvp7mn/+BH1DJAD87psS8AHL4+55yw8+xd24Rsv5NNvpDWAq50draEgrOEfMZ YNX82r6DlXlET+Vp+NpFZIYUljD3kCW5Rzglg+Lrd2ehqWwuhQ+qTFQfrsbN43B4LuvF +QMw== X-Gm-Message-State: AOAM53096Q2WfLEKtYuo4QTUAu3kQkfiH5ckvtXXh9mrpJbq7mJ3BInY kgNiDhCVVElmUsmdwy7TMk8= X-Google-Smtp-Source: ABdhPJyDFz6cpAsZ4b0SuEOR84BApTh++517g+5BODe0SlXFOeqrcgqwaQSPqzyOhT4zBCbiMdmwlA== X-Received: by 2002:a17:90a:34c3:: with SMTP id m3mr1821666pjf.26.1643087170991; Mon, 24 Jan 2022 21:06:10 -0800 (PST) Received: from smtpclient.apple ([155.98.131.4]) by smtp.gmail.com with ESMTPSA id f18sm9298081pfc.203.2022.01.24.21.06.10 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Jan 2022 21:06:10 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: Undetected Deadlock From: Rob Sargent In-Reply-To: Date: Mon, 24 Jan 2022 22:06:09 -0700 Cc: pgsql-general@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <21587598-F7BE-47FD-8FCF-C18E5095976B@gmail.com> References: To: Michael Harris X-Mailer: Apple Mail (2.3654.120.0.1.13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Jan 24, 2022, at 10:02 PM, Michael Harris wrote: >=20 > My apologies, >=20 > After posting this and looking at how it appears I realised that line > wrapping makes the tables totally illegible. >=20 > Here they are again with all unnecessary columns removed and others = shortened. >=20 > 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 >=20 >=20 > 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 =3D > 44788868 >=20 > I hope this version is easier to read. >=20 > Cheers > Mike > On Tue, 25 Jan 2022 at 15:49, Michael Harris wrote: It=E2=80=99s definitely tidier, but on my mac Mail.app and on = Thunderbird there is still a line wrap problem. I don=E2=80=99t think = that will prevent the experts from helping out. I=E2=80=99m not one of = them.