🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.devel.release
Article #1054

Bug#1153963: marked as done (trixie-pu: package plr/1:8.4.7-3+deb13u1)

#1054
From: Debian Bug Tracking System
Date: Sat, 21 Nov 2026 09:50
279 lines
13463 bytes
This is a multi-part message in MIME format...

------------=_1795253402-3309977-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Sat, 21 Nov 2026 09:28:03 +0000
with message-id <E1xUhO7-00000008t2D-2e9S@coccia.debian.org>
and subject line Released in 13.8
has caused the Debian Bug report #1153963,
regarding trixie-pu: package plr/1:8.4.7-3+deb13u1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


--=20
1153963: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1153963
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1795253402-3309977-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 14 Nov 2026 11:37:54 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-132.2 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	BODY_INCLUDES_CONTROL_AFFECTS,BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
	HAS_PACKAGE,MD5_SHA1_SUM,SPF_HELO_NONE,SPF_PASS,
	USER_IN_DKIM_WELCOMELIST,X_DEBBUGS_NO_ACK autolearn=ham
	autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 80; hammy, 150; neutral, 122; spammy,
	0. spammytokens:
	hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
	0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
	0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: <myon@debian.org>
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:48806)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <myon@debian.org>)
	id 1xSC4w-008mni-05
	for submit@bugs.debian.org;
	Sat, 14 Nov 2026 11:37:54 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.stravinsky; h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
	Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
	Content-Description:In-Reply-To:References;
	bh=8N0fxcihw4n7nzCTKYJOQhn7/LrjCVjVuN0Rjy2Lj18=; b=nWxuGBRDGBY3TTot03yP79dehK
	gSmZXdwhUCO7OqkRc3ToW3i0obodCzUtVcSTOoM4W5/GdyVfegbZ4HjDMnycMxzFk+icCOrln8C0P
	ini3DP2715g3A20JJBwOyBehSl+I7iYjdS6a6DeWql8LBXqyUoGvGL55QQRPcRUJShjZRBEcBHVd1
	1Ns+ajcGX65S6GlrAYtnwM12MOU4RvjMu0r+BJGUqDKsdy3T+rWAATvXc3+bHlTpIQuGbtQ5h8nYN
	NGv992odjofgSiQl1xaDypJOKNl3+qBSm9VtjNoMwG/MExZq7DOVg6XVfJyRd8Y/IVoIrk6A4Dtyk
	WaYRtxcQ==;
Received: from authenticated-user
	by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <myon@debian.org>)
	id 1xSC4u-00FVJm-1i
	for submit@bugs.debian.org;
	Sat, 14 Nov 2026 11:37:52 +0000
Date: Sat, 14 Nov 2026 12:37:51 +0100
From: Christoph Berg <myon@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: trixie-pu: package plr/1:8.4.7-3+deb13u1
Message-ID: <avhID8UkQdenzP3T@msg.df7cb.de>
Mail-Followup-To: Christoph Berg <myon@debian.org>,
	Debian Bug Tracking System <submit@bugs.debian.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 13.2.0+nmu1
X-Debbugs-No-Ack: please
X-Debian-User: myon
Delivered-To: submit@bugs.debian.org

Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: plr@packages.debian.org
Control: affects -1 + src:plr
User: release.debian.org@packages.debian.org
Usertags: pu

Please accept plr into trixie.

[ Reason ]
The new version is compatible with postgresql 17.12.

[ Impact ]
At least the regression tests are failing. I am not sure how much
"normal" use of the extension is affected, but there are certainly
cases that break.

[ Tests ]
Extensive upstream testsuite, manual testing.

[ Risks ]
Fix is already accepted upstream and the diff applied cleanly.

[ Checklist ]
  [x] *all* changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in (old)stable
  [x] the issue is verified as fixed in unstable

Christoph

commit b86ef0b511d677f1986cf9d28a60b297740ef0a5
Author: Christoph Berg <myon@debian.org>
Date:   Sat Nov 14 11:09:16 2026 +0000

    Cherrypick heap_copy_tuple_as_datum fix from upstream to fix building with Postgresql 17.12.

diff --git a/debian/changelog b/debian/changelog
index 96a84e5..4e247bf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+plr (1:8.4.7-3+deb13u1) trixie; urgency=medium
+
+  * Cherrypick heap_copy_tuple_as_datum fix from upstream to fix building with
+    Postgresql 17.12.
+
+ -- Christoph Berg <myon@debian.org>  Sat, 14 Nov 2026 10:59:31 +0000
+
 plr (1:8.4.7-3) unstable; urgency=medium

   * Support PostgreSQL 18.
diff --git a/debian/patches/copydatum b/debian/patches/copydatum
new file mode 100644
index 0000000..e3c8d5c
--- /dev/null
+++ b/debian/patches/copydatum
@@ -0,0 +1,62 @@
+commit 9c82ca9313c0c8a9c56c4a399aef6e00cc01067b
+Author: Andre Mikulec <Andre_Mikulec@Hotmail.com>
+Date:   Tue Oct 6 23:08:46 2026 -0400
+
+    PostgreSQL 18 Release Build 9
+
+    * prepare for PL/R release of 8.4.8.9
+    * Not expected to affect end-user programming
+    * For PL/R optimization, integrate heap_copy_tuple_as_datum()
+    * * (rec by Andres Freund from code of Tom Lane)
+
+--- a/plr.h
++++ b/plr.h
+@@ -357,44 +357,20 @@ extern void R_RunExitFinalizers(void);
+ #define SET_INSERT_ARGS_567 \
+ 	do { \
+ 		SET_ARG(DirectFunctionCall1(textin, CStringGetDatum("INSERT")),false,5); \
+-		tup = trigdata->tg_trigtuple; \
+-		dtrigtup = (HeapTupleHeader) palloc(tup->t_len); \
+-		memcpy((char *) dtrigtup, (char *) tup->t_data, tup->t_len); \
+-		HeapTupleHeaderSetDatumLength(dtrigtup, tup->t_len); \
+-		HeapTupleHeaderSetTypeId(dtrigtup, tupdesc->tdtypeid); \
+-		HeapTupleHeaderSetTypMod(dtrigtup, tupdesc->tdtypmod); \
+-		SET_ARG(PointerGetDatum(dtrigtup),false,6); \
++		SET_ARG(heap_copy_tuple_as_datum(trigdata->tg_trigtuple, tupdesc),false,6); \
+ 		SET_ARG((Datum)0,true,7); \
+ 	} while (0)
+ #define SET_DELETE_ARGS_567 \
+ 	do { \
+ 		SET_ARG(DirectFunctionCall1(textin, CStringGetDatum("DELETE")),false,5); \
+ 		SET_ARG((Datum) 0,true,6); \
+-		tup = trigdata->tg_trigtuple; \
+-		dtrigtup = (HeapTupleHeader) palloc(tup->t_len); \
+-		memcpy((char *) dtrigtup, (char *) tup->t_data, tup->t_len); \
+-		HeapTupleHeaderSetDatumLength(dtrigtup, tup->t_len); \
+-		HeapTupleHeaderSetTypeId(dtrigtup, tupdesc->tdtypeid); \
+-		HeapTupleHeaderSetTypMod(dtrigtup, tupdesc->tdtypmod); \
+-		SET_ARG(PointerGetDatum(dtrigtup),false,7); \
++		SET_ARG(heap_copy_tuple_as_datum(trigdata->tg_trigtuple, tupdesc),false,7); \
+ 	} while (0)
+ #define SET_UPDATE_ARGS_567 \
+ 	do { \
+ 		SET_ARG(DirectFunctionCall1(textin, CStringGetDatum("UPDATE")),false,5); \
+-		tup = trigdata->tg_newtuple; \
+-		dnewtup = (HeapTupleHeader) palloc(tup->t_len); \
+-		memcpy((char *) dnewtup, (char *) tup->t_data, tup->t_len); \
+-		HeapTupleHeaderSetDatumLength(dnewtup, tup->t_len); \
+-		HeapTupleHeaderSetTypeId(dnewtup, tupdesc->tdtypeid); \
+-		HeapTupleHeaderSetTypMod(dnewtup, tupdesc->tdtypmod); \
+-		SET_ARG(PointerGetDatum(dnewtup),false,6); \
+-		tup = trigdata->tg_trigtuple; \
+-		dtrigtup = (HeapTupleHeader) palloc(tup->t_len); \
+-		memcpy((char *) dtrigtup, (char *) tup->t_data, tup->t_len); \
+-		HeapTupleHeaderSetDatumLength(dtrigtup, tup->t_len); \
+-		HeapTupleHeaderSetTypeId(dtrigtup, tupdesc->tdtypeid); \
+-		HeapTupleHeaderSetTypMod(dtrigtup, tupdesc->tdtypmod); \
+-		SET_ARG(PointerGetDatum(dtrigtup),false,7); \
++		SET_ARG(heap_copy_tuple_as_datum(trigdata->tg_newtuple,  tupdesc),false,6); \
++		SET_ARG(heap_copy_tuple_as_datum(trigdata->tg_trigtuple, tupdesc),false,7); \
+ 	} while (0)
+ #define CONVERT_TUPLE_TO_DATAFRAME(tt) \
+ 	do { \
diff --git a/debian/patches/series b/debian/patches/series
index af17f6c..064ac29 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 gamma
+copydatum

------------=_1795253402-3309977-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1153963-done) by bugs.debian.org; 21 Nov 2026 09:28:04 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-106.2 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,
	USER_IN_DKIM_WELCOMELIST,VERSION autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 7; hammy, 65; neutral, 16; spammy, 0.
	spammytokens: hammytokens:0.000-+--H*r:sk:coccia., 0.000-+--H*m:coccia,
	 0.000-+--H*MI:coccia, 0.000-+--H*r:submission, 0.000-+--H*F:U*jmw
Return-path: <jmw@coccia.debian.org>
Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]:39046)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <jmw@coccia.debian.org>)
	id 1xUhO8-00Drhh-2M
	for 1153963-done@bugs.debian.org;
	Sat, 21 Nov 2026 09:28:03 +0000
Received: via submission
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=coccia.debian.org,EMAIL=hostmaster@coccia.debian.org (verified)
	by muffat.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <jmw@coccia.debian.org>)
	id 1xUhO9-004oi4-0L
	for 1153963-done@bugs.debian.org;
	Sat, 21 Nov 2026 09:28:03 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=coccia.debian.org; s=smtpauto.coccia; h=Date:From:Message-Id:
	Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:To:Reply-To:Cc:
	Content-ID:Content-Description:In-Reply-To:References;
	bh=j3C+QfqZhEAyGCz+F5Nny7uVPSJTnuL2JF6zBnHyDlM=; b=2953yDtg7FmhsHxv/s8zoEMaJF
	PQnvNx7RTnFBD8KatQpYLZv+mj+flHKOx/2KCKLQasSzyX7Wgz1SUvEzK2xUufaaMLoBUCXOgq2ir
	pcZON5+MyppJFm/HapfXGWkHsKZHAEOdzC+kDMwxCsCBvLJEcqsS9r5xce6mwoTWoTnETuSGeGec7
	nxHfRzmLVCSnaCBQ8UG2O4YFhdxvVbB2me1G1pBsH0OnsyVpr5BWHgPy/Jvw9vYsLvRnbu+4UK7Sr
	fd3xT0gW4yCsGLOUabUMslo8xQDKHpaCmbsfqY89Yis1oSxJuWbdaWuqz98XdD5mL0I5UnU6kacbB
	cgYIYq5w==;
Received: from jmw by coccia.debian.org with local (Exim 4.98.2)
	(envelope-from <jmw@coccia.debian.org>)
	id 1xUhO7-00000008t2D-2e9S
	for 1153963-done@bugs.debian.org;
	Sat, 21 Nov 2026 09:28:03 +0000
To: 1153963-done@bugs.debian.org
Subject: Released in 13.8
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Message-Id: <E1xUhO7-00000008t2D-2e9S@coccia.debian.org>
From: Jonathan Wiltshire <jmw@coccia.debian.org>
Date: Sat, 21 Nov 2026 09:28:03 +0000
X-CrossAssassin-Score: 32

Version: 13.8

This update was released as part of 13.8.
------------=_1795253402-3309977-0--
Technical Details
Message-ID: <O1PTm-dfpW-203@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O1PTm-dfpW-205@gated-at.bofh.it> <NZkgV-bPnj-17@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: "Debian Bug Tracking System" <owner@bugs.debian.org>
Newsgroups: linux.debian.devel.release
Subject: Bug#1153963: marked as done (trixie-pu: package plr/1:8.4.7-3+deb13u1)
Date: Sat, 21 Nov 2026 10:50:04 +0100
Message-ID: <O1PTm-dfpW-203@gated-at.bofh.it>
References: <O1PTm-dfpW-205@gated-at.bofh.it> <NZkgV-bPnj-17@gated-at.bofh.it>
X-Original-To: Jonathan Wiltshire <jmw@coccia.debian.org>
X-Mailbox-Line: From debian-release-request@lists.debian.org  Sat Nov 21 09:47:06 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Amavis-Spam-Status: No, score=-2 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
 RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
MIME-Version: 1.0
X-Mailer: MIME-tools 5.510 (Entity 5.510)
X-Debian-Pr-Message: closed 1153963
X-Debian-Pr-Package: release.debian.org
X-Debian-Pr-Keywords: trixie
Reply-To: 1153963@bugs.debian.org
Content-Type: multipart/mixed; boundary="----------=_1795253402-3309977-0"
X-Mailing-List: <debian-release@lists.debian.org> archive/latest/189400
List-ID: <debian-release.lists.debian.org>
List-URL: <https://lists.debian.org/debian-release/>
List-Archive: https://lists.debian.org/msgid-search/handler.1153963.D1153963.17952532843305050.ackdone@bugs.debian.org
Approved: robomod@news.nic.it
Lines: 279
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sat, 21 Nov 2026 09:30:02 +0000
X-Original-Message-ID: <handler.1153963.D1153963.17952532843305050.ackdone@bugs.debian.org>
X-Original-References: <E1xUhO7-00000008t2D-2e9S@coccia.debian.org>
 <avhID8UkQdenzP3T@msg.df7cb.de>