Re: Residual cleanups for tied objects in PL/Perl - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Residual cleanups for tied objects in PL/Perl
Date
Msg-id 108ad484-2578-482b-81e4-a5f1f9749062@dunslane.net
Whole thread
List pgsql-hackers
On 2026-08-16 Su 5:10 PM, Andrew Dunstan wrote:
>
> On 2026-08-16 Su 3:04 PM, Tom Lane wrote:
>> Andrew Dunstan <andrew@dunslane.net> writes:
>>> On 2026-08-16 Su 1:38 PM, Tom Lane wrote:
>>>> The test cases I have that reach these bugs require Perl "Tie"
>>>> modules that aren't present in common Perl installations,
>>>> so I'm not planning on trying to construct regression test
>>>> entries for them.  But I've attached two SQL scripts that
>>>> cause failures without the patch.
>>> Which modules?
>> At least Tie::Array isn't present in RHEL10's standard perl
>> package set --- I had to install "perl-Tie" to get that test
>> case to run here.
>
>
> That seems odd, given that we use Tie::Hash and Tie::StdHash in 
> src/pl/plperl/plc_trusted.pl
>
>

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.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com




pgsql-hackers by date:

Previous
From: Ashutosh Bapat
Date:
Subject: Re: BgBufferSync(): clarification about reusable_buffers variable
Next
From: Nathan Bossart
Date:
Subject: Re: problems with toast.* reloptions