Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vngbu-00AGXF-0D for pgsql-admin@arkaria.postgresql.org; Wed, 04 Feb 2026 17:24:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vngbr-00Clei-2d for pgsql-admin@arkaria.postgresql.org; Wed, 04 Feb 2026 17:24:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vngbr-00CleV-1Q for pgsql-admin@lists.postgresql.org; Wed, 04 Feb 2026 17:24:11 +0000 Received: from mail-oi1-x230.google.com ([2607:f8b0:4864:20::230]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vngbo-000000013wa-2GVQ for pgsql-admin@lists.postgresql.org; Wed, 04 Feb 2026 17:24:10 +0000 Received: by mail-oi1-x230.google.com with SMTP id 5614622812f47-45c733ccc32so37369b6e.0 for ; Wed, 04 Feb 2026 09:24:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1770225846; cv=none; d=google.com; s=arc-20240605; b=j99G8QM9x75dNa/EdoM9KmNl51XhH4Fzra/mcX4mK1/Px29fTca6XeTujRmumNA2T6 coaqFip8OmsGFQAl3q95Q416WZ8NGegfDZDjiu6g71fKAbyQpi7WrOgMmODhhAeT/d5S tS574dcIJwY30zY0qBP+Y02Uli3sH6gEEDh05duimPa4b/wLYxlkq2a4cS4uBUyjnRnj 9GlJ/FIONxjXTpqGfVwvfsHxC7s2e8Wh+Rmtc1vQZMMA3anRmSva0kj6MRvK9+OA6mvG oxn6J+KjL71fYSr8SgQrhP4u/0mxQUeIKYXSE1Cj6t9z3MyldyyhBmI+V+Ti+JamI5aV w4Mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=18CzdUwMFveHgLmJVp1+49mXCAADW3bO/1VdlRJFqNA=; fh=druxZHa2fk4e6MLibibygn9AWWgeaAPo4m8Gpo2MBXU=; b=ABV5IYwQgxoGDtxmX9A9rph1aXqCL0drsrtoo1hksjGHWyXcT2VwLiJHBWyPbGTAcY x/dY8xU61rAJKy7tp69eCnGp24fSv44l7se1/uAaXDDeZj4MOpDAMFUwTUK7YGZwj48k 6gSB4c8UXhgGrHq7hMq+9WRMb/wLI4LxxfWmJ1Go+4mpeSO/EaYh3tZcbbq3ejN4PIHQ GM/WLoi4KltA7gXdcdDZoAZdnzp49VVXiAd6xdB/avYjwmqnrQYDz+tvSs0JRneXKDZI 6H4E7Ur+vEl7RPqGlc+MR86wEVsavgzHVJ+W219FZc/Ds1vMQMUEkWXM6fbVgS+aRQD7 Ctpg==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770225846; x=1770830646; darn=lists.postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=18CzdUwMFveHgLmJVp1+49mXCAADW3bO/1VdlRJFqNA=; b=Qyag8Ar4wdDD4oxZsitJw+yA18JSpUbptdiG+ZjqbCXNZwo785PQbpYICv9iJ4f5n9 BTwIm2v8S4mDndPMo5Xw1quvI9OH/OPNPn3PMl1UP42Q/aHbm/O+MFxQtukrMW4q0dMi UIwWzBt4DAWclYxF2EmDzZJ5OzYdWMLH5NvlAeK1Xk5xmqpEXa0NiPQZE2dX2M4TrftL 97R6q+RuiGuqYA5F7rGpLpOHdDM9smm8tP64bh03yd5Z4CERSrzvvP5k0KCTfLgbCEv0 3qGHfzxBkTmncmuy21p3SGSpsQm0NNJk7MkOo76+wUrnqP/QThwucUyiOEHw6wx/REff UAgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770225846; x=1770830646; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=18CzdUwMFveHgLmJVp1+49mXCAADW3bO/1VdlRJFqNA=; b=FOrGhJTrWI35c7T9g/+Jenma/5oJaj0LKjCg8mUYBUD9nnVi9LjX29Pa2bO0LyEB2J Omh5CBRGdE/JQm1i2fEfzjOZ3N71gGM7jHY6MoyTXMCYKvtdk3QRCEOqN7yeMmslgWdn cq8cJy2l32AuYuYaIlTgrstHJkpAlpG02Rv/t+do+4+sxdSOVmpmxZfs/ybTOc7PkPzN zfe8T5corrzz5JIRcRfxtQXi/vRBpgFImNx1rZ624i5xluE2pvBVfiNFmdo25/rLGl0J fLunxM7kaEnM1ZuRVEw3bqAsw7zJUd8BHckaMo4TGZKLOEEx3Rsb9Ec43w3/497WAIIv bgGQ== X-Gm-Message-State: AOJu0YwJvvxd8DdgfOwkbADXC1AiHHf3olRVCMcpvEqJDl3mkCfraZX3 mrJbgMuYQT/FTjlCXlBjR3vU1zAUtDGHfdyf9YTY0nVtARxeNRtePb+fzFTwxL9g7nlJsTZhvqO DxD8zzdKBRjDjXMFloQjNldJkAnj+d+QOaQ== X-Gm-Gg: AZuq6aLqD2s2WtdKT/E3PbXKXCwc0cpf0p72CmfK+EZbjpfLBOyfDitqcLbnMLcUnVj uJVRx4+Mq7pnnOcszSPVEGFa+7OKZJ1QsNq8SNL8dWjFj/EQI9L8uaTsvBvIEVnl7U4aEyiOZkV KeB+vfTKQZ5GdbPl1K5ca+o32i5qOp1BDum0NAr6NaFK/Lr4uxM1ibiH3mhQvv/lnBq1PiB0QfM 09bSqNBpFBcNDGLwjzScQ7jIATcq1mPnT2ak3qhCYwyDWlMHYTx6/FW0pr3vmrEdzUjkJix X-Received: by 2002:a05:6808:c1a5:b0:462:b520:273a with SMTP id 5614622812f47-462d58e2968mr2239822b6e.25.1770225846367; Wed, 04 Feb 2026 09:24:06 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ron Johnson Date: Wed, 4 Feb 2026 12:23:54 -0500 X-Gm-Features: AZwV_QjQcwLRC40EibruBy9EZ44I86LcGNHHm6cVpTamjpDvDC2aqzpM-Z2ca4I Message-ID: Subject: Re: row from index tuple To: Pgsql-admin Content-Type: multipart/alternative; boundary="000000000000beb81f064a02d2d0" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000beb81f064a02d2d0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Feb 4, 2026 at 11:09=E2=80=AFAM Scott Ribe wrote: > How can I get from an index tuple to the row? > > The situation is that we're seeing deadlocks on inserts, because two > different sources are sending rows that have the same unique constraint, > when they should not be doing that. Would love to get to an example row t= o > hunt this down further. > When I see deadlocks, both records are in the log file. You don't see them, there are "?" placeholders. something else? --=20 Death to , and butter sauce. Don't boil me, I'm still alive. lobster! --000000000000beb81f064a02d2d0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Feb 4, 2026 at 11:09=E2=80=AFAM S= cott Ribe <scott_ribe@ele= vated-dev.com> wrote:
How can I get fro= m an index tuple to the row?

The situation is that we're seeing deadlocks on inserts, because two di= fferent sources are sending rows that have the same unique constraint, when= they should not be doing that. Would love to get to an example row to hunt= this down further.

When I see deadlock= s, both records are in the log file.=C2=A0 You don't see them, there ar= e "?" placeholders. something else?

--
Death to <Redacted>, and butter sa= uce.
Don't boil me, I'm still alive.
<Redacted&= gt; lobster!
--000000000000beb81f064a02d2d0--