Re: Residual cleanups for tied objects in PL/Perl

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Residual cleanups for tied objects in PL/Perl
Date: 2026-08-16 21:10:50
Message-ID: 0b46a1ad-6c92-47b1-8eb6-03f9e863ecd7@dunslane.net
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 2026-08-16 Su 3:04 PM, Tom Lane wrote:
> Andrew Dunstan <andrew(at)dunslane(dot)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

cheers

andrew

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrey Rachitskiy 2026-08-16 21:40:28 Re: Residual cleanups for tied objects in PL/Perl
Previous Message Tom Lane 2026-08-16 20:26:57 Re: Residual cleanups for tied objects in PL/Perl