pgsql: Fix pl/perl test case so it will still work under Perl 5.36.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix pl/perl test case so it will still work under Perl 5.36.
Дата
Msg-id E1nwUlI-002Epn-3D@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix pl/perl test case so it will still work under Perl 5.36.

Perl 5.36 has reclassified the warning condition that this test
case used, so that the expected error fails to appear.  Tweak
the test so it instead exercises a case that's handled the same
way in all Perl versions of interest.

This appears to meet our standards for back-patching into
out-of-support branches: it changes no user-visible behavior
but enables testing of old branches with newer tools.
Hence, back-patch as far as 9.2.

Dagfinn Ilmari Mannsåker, per report from Jitka Plesníková.

Discussion: https://postgr.es/m/564579.1654093326@sss.pgh.pa.us

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1072e4c45dc3e4a9a62b34087414627b307e10f6

Modified Files
--------------
src/pl/plperl/expected/plperl.out | 6 +++---
src/pl/plperl/sql/plperl.sql      | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Doc: fix a couple of erroneous examples.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Silence compiler warnings from some older compilers.