Re: Residual cleanups for tied objects in PL/Perl

Поиск
Список
Период
Сортировка
Искать

Re: Residual cleanups for tied objects in PL/Perl

От:
Andrew Dunstan <andrew@dunslane.net>
Дата:

On 2026-08-16 Su 3:04 PM, Tom Lane wrote:
> Andrew Dunstan  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



Re: Residual cleanups for tied objects in PL/Perl

От:
Andrew Dunstan <andrew@dunslane.net>
Дата:

On 2026-08-16 Su 5:10 PM, Andrew Dunstan wrote:
>
> On 2026-08-16 Su 3:04 PM, Tom Lane wrote:
>> Andrew Dunstan  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



FAQ