pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: Residual cleanups for tied objects in PL/Perl
Date: Mon, 17 Aug 2026 14:58:07 -0400
Message-ID: <930962.1786993087@sss.pgh.pa.us> (raw)
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>

Andrew Dunstan <andrew@dunslane.net> 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





view thread (29+ messages)  latest in thread

Message-ID: <930962.1786993087@sss.pgh.pa.us>
Permalink:  ../930962.1786993087@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/930962.1786993087@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andrew@dunslane.net, pgsql-hackers@lists.postgresql.org
  Subject: Re: Residual cleanups for tied objects in PL/Perl
  In-Reply-To: <930962.1786993087@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox