Re: plperl and perl 5.38

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Christoph Berg <myon(at)debian(dot)org>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: plperl and perl 5.38
Date: 2024-01-14 14:02:33
Message-ID: 87b35222-06c6-33b7-a0e6-617a400dcace@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 2024-01-12 Fr 05:14, Christoph Berg wrote:
> Perl 5.38 has landed in Debian unstable, and plperl doesn't like it:
>
> diff -U3 /home/myon/projects/postgresql/pg/postgresql/src/pl/plperl/expected/plperl_elog_1.out /home/myon/projects/postgresql/pg/postgresql/build/testrun/plperl/regress/results/plperl_elog.out
> --- /home/myon/projects/postgresql/pg/postgresql/src/pl/plperl/expected/plperl_elog_1.out 2023-07-24 12:47:52.124583553 +0000
> +++ /home/myon/projects/postgresql/pg/postgresql/build/testrun/plperl/regress/results/plperl_elog.out 2024-01-12 10:09:51.065265341 +0000
> @@ -76,6 +76,7 @@
> RETURN 1;
> END;
> $$;
> +WARNING: could not determine encoding for locale "C.utf8": codeset is "ANSI_X3.4-1968"
> select die_caller();
> NOTICE: caught die
> die_caller
> diff -U3 /home/myon/projects/postgresql/pg/postgresql/src/pl/plperl/expected/plperl_call.out /home/myon/projects/postgresql/pg/postgresql/build/testrun/plperl/regress/results/plperl_call.out
> --- /home/myon/projects/postgresql/pg/postgresql/src/pl/plperl/expected/plperl_call.out 2023-10-17 09:40:01.365865484 +0000
> +++ /home/myon/projects/postgresql/pg/postgresql/build/testrun/plperl/regress/results/plperl_call.out 2024-01-12 10:09:51.413278511 +0000
> @@ -64,6 +64,7 @@
> RAISE NOTICE '_a: %, _b: %', _a, _b;
> END
> $$;
> +WARNING: could not determine encoding for locale "C.utf8": codeset is "ANSI_X3.4-1968"
> NOTICE: a: 10, b:
> NOTICE: _a: 10, _b: 20
> DROP PROCEDURE test_proc1;
>
> Same problem in 17devel and 16. (Did not try the older branches yet.)
>

I can't reproduce this on my Ubuntu 22.04 ARM64 instance with perl
5.38.2 installed via perlbrew, nor on a fresh Debian unstable with it's
perl 5.38.2. In both instances my LANG is set to en_US.UTF-8.

cheers

andrew

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bharath Rupireddy 2024-01-14 15:02:40 Re: A failure in t/038_save_logical_slots_shutdown.pl
Previous Message John Naylor 2024-01-14 13:55:28 Re: Tidy fill hstv array (src/backend/access/heap/pruneheap.c)