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 1ww2XE-001hh7-0w for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Aug 2026 18:58:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1ww2XB-00C8IQ-2y for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Aug 2026 18:58:11 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1ww2XB-00C8II-23 for pgsql-hackers@lists.postgresql.org; Mon, 17 Aug 2026 18:58:10 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1ww2XB-0000000167l-0DdP for pgsql-hackers@lists.postgresql.org; Mon, 17 Aug 2026 18:58:09 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.18.1/8.18.1) with ESMTP id 67HIw7SB930963; Mon, 17 Aug 2026 14:58:07 -0400 From: Tom Lane To: Andrew Dunstan cc: pgsql-hackers@lists.postgresql.org Subject: Re: Residual cleanups for tied objects in PL/Perl In-reply-to: <108ad484-2578-482b-81e4-a5f1f9749062@dunslane.net> References: <569769.1786901901@sss.pgh.pa.us> <7e5de9c1-e2fe-44d2-9df3-670c6678e52b@dunslane.net> <574948.1786907070@sss.pgh.pa.us> <0b46a1ad-6c92-47b1-8eb6-03f9e863ecd7@dunslane.net> <108ad484-2578-482b-81e4-a5f1f9749062@dunslane.net> Comments: In-reply-to Andrew Dunstan message dated "Mon, 17 Aug 2026 14:44:26 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <930961.1786993087.1@sss.pgh.pa.us> Date: Mon, 17 Aug 2026 14:58:07 -0400 Message-ID: <930962.1786993087@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andrew Dunstan writes: > Answering myself, it appears that those are part of RHEL10's perl-libs > package, while Tie::Array and Tie::StdArray are part of the perl-Tie > package. That seems at first glance like a really awful packaging > decision, something not entirely without precedent. Poking around, it looks like they may have done that because parent.pm ("use parent" support) requires Tie::StdHash, and they wanted that in the base installation. It does seem pretty strange though. There is not much in perl-Tie: $ rpm -ql perl-Tie /usr/share/man/man3/Tie::Array.3pm.gz /usr/share/man/man3/Tie::Handle.3pm.gz /usr/share/man/man3/Tie::Scalar.3pm.gz /usr/share/man/man3/Tie::StdHandle.3pm.gz /usr/share/man/man3/Tie::SubstrHash.3pm.gz /usr/share/perl5/Tie /usr/share/perl5/Tie/Array.pm /usr/share/perl5/Tie/Handle.pm /usr/share/perl5/Tie/Scalar.pm /usr/share/perl5/Tie/StdHandle.pm /usr/share/perl5/Tie/SubstrHash.pm I see the same division in RHEL9. Don't have a live RHEL8 installation to check anymore. regards, tom lane