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 1mfF7T-0002Nh-Br for pgsql-bugs@arkaria.postgresql.org; Tue, 26 Oct 2021 05:35:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mfF7S-0007Cd-6E for pgsql-bugs@arkaria.postgresql.org; Tue, 26 Oct 2021 05:35:30 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mfF7R-00078f-SJ for pgsql-bugs@lists.postgresql.org; Tue, 26 Oct 2021 05:35:29 +0000 Received: from mail.hmail.be ([77.73.98.240]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1mfF7N-0007s0-J1 for pgsql-bugs@lists.postgresql.org; Tue, 26 Oct 2021 05:35:28 +0000 DKIM-Signature: v=1; c=relaxed/relaxed; h=content-type:mime-version:subject:from:in-reply-to:date:cc:content-transfer-encoding:message-id:references:to; d=verschooten.net; s=mail; a=rsa-sha256; bh=AJ4LYrRrPNp2wT8coTVlt9h8rhEqHPsisBDJqSH6fKY=; b=JxmQnMgXjtEPTf8kru9MfpFnhZguZyIFeH2NFdm+/KtGzmU4K2WYXGwGSf7nACWty qKj/kYCPE8/eVqlrn9ZljYk5OSqIzRat9vGv7yoTUYeZ0M68f4QaYgMlXYhFKWFboRF u9OMqoP+IGYfg7j289gdN9djr5B5Q45+9alEvEw=; Received: from smtpclient.apple ([2a02:1807:3930:100:d9e0:9bfb:d32f:bd2b]) by hmail.be with MailEnable ESMTPSA (version=TLS1_2 cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256); Tue, 26 Oct 2021 07:35:20 +0200 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.20.0.1.32\)) Subject: Re: ERROR: posting list tuple with 20 items cannot be split at offset 168 From: Herman verschooten In-Reply-To: Date: Tue, 26 Oct 2021 07:35:18 +0200 Cc: PostgreSQL mailing lists , Christl Nagels Content-Transfer-Encoding: quoted-printable Message-Id: <4F70DF51-FD72-41EC-9D7F-40C359AB3838@verschooten.net> References: <8CDB73C1-E3AF-40A6-BA81-8AFE174C6402@verschooten.net> To: Peter Geoghegan X-Mailer: Apple Mail (2.3693.20.0.1.32) X-Envelope-Sender: Herman@verschooten.net X-ME-Bayesian: 0.000000 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi Peter, Thanks for the info. I don=E2=80=99t recall the exact 13 version we were on. I can confirm that after dropping and recreating the 6 indexes = everything is working fine. Thanks for all the help, both here and on slack, Herman > Op 25 okt. 2021, om 17:29 heeft Peter Geoghegan het = volgende geschreven: >=20 > On Mon, Oct 25, 2021 at 2:59 AM Herman verschooten > wrote: >> tranman_production=3D# update freights set cmr_received=3Dfalse where = id=3D49632; >> ERROR: XX000: posting list tuple with 20 items cannot be split at = offset 168 >> LOCATION: _bt_swap_posting, nbtdedup.c:1037 >>=20 >> If I drop the index index_freights_on_cmr_received, then the update = succeeds. >=20 > What you see here is a defensive "can't happen" error that I added in > commit 8f72bbac, and backpatched to Postgres 13.4, which came out on > 2021-08-12. The goal of that error is to make a possible hard crash > due to corruption into a slightly friendlier kind of failure (the > error that you see here). Were you running 13.4 before the upgrade? >=20 > If you were on 13.3 or earlier before the upgrade to 14, then it's > possible that the problem was there all along, but is only now visible > for the first time. >=20 > --=20 > Peter Geoghegan