Re: plperl fails with perl 5.28

From: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>
To: Christoph Berg <myon(at)debian(dot)org>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: plperl fails with perl 5.28
Date: 2018-05-22 16:18:04
Message-ID: 501e8b0d-25a8-d031-4c35-4895cb270214@2ndQuadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 05/22/2018 07:18 AM, Christoph Berg wrote:
> plperl fails to install with perl 5.27.11, which is to be released as 5.28.0:
>
> 2018-05-17 20:01:44.556 UTC [22629] pg_regress ERROR:
> 2018-05-17 20:01:44.556 UTC [22629] pg_regress CONTEXT: while running Perl initialization
> 2018-05-17 20:01:44.556 UTC [22629] pg_regress STATEMENT: CREATE EXTENSION IF NOT EXISTS "plperl"
>
> Unfortunately this is all what I could extract from the server log,
> even log_min_messages = debug5 doesn't print more.
>
> Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=899209
>

This is repeatable on Ubuntu.

I have a tiny bit more info:

andrew=# load 'plperl.so';
ERROR:
CONTEXT:  while running Perl initialization
andrew=#

That means it's failing at line 860 of plperl.c.

Maybe we need to fire up the perl debugger ...

cheers

andrew

--

Andrew Dunstan https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2018-05-22 16:44:55 Re: COPY FROM WITH HEADER skips a tuple every 4 billion tuples
Previous Message Andres Freund 2018-05-22 16:16:45 Re: COPY FROM WITH HEADER skips a tuple every 4 billion tuples