Re: plperl fails with perl 5.28

2018-05-29 Thread Christoph Berg
Re: Tom Lane 2018-05-23 <10366.1527109...@sss.pgh.pa.us> > > https://rt.perl.org/Public/Bug/Display.html?id=133220 > > Thanks. Looking at this again, it seems like the core of the problem > is that S_run_body's fell-off-the-end behavior is equivalent to an > explicit "exit(0)". Perhaps it should

Re: plperl fails with perl 5.28

2018-05-23 Thread Tom Lane
Christoph Berg writes: > Re: Tom Lane 2018-05-23 <23260.1527026...@sss.pgh.pa.us> >> but TBH I think someone oughta file a bug report first. > https://rt.perl.org/Public/Bug/Display.html?id=133220 Thanks. Looking at this again, it seems like the core of the problem is that S_run_body's fell-off

Re: plperl fails with perl 5.28

2018-05-23 Thread Christoph Berg
Re: Tom Lane 2018-05-23 <23260.1527026...@sss.pgh.pa.us> > but TBH I think someone oughta file a bug report first. https://rt.perl.org/Public/Bug/Display.html?id=133220 Christoph

Re: plperl fails with perl 5.28

2018-05-22 Thread Tom Lane
Andrew Dunstan writes: > Well diagnosed. Maybe it's worth pointing out that almost all the > examples of perl_run() in the perlembed manual simply ignore the > returned value. OTOH, if that's what we're supposed to do why isn't the > function declared that way? Yeah, it seems that mainly what

Re: plperl fails with perl 5.28

2018-05-22 Thread Andrew Dunstan
On 05/22/2018 06:02 PM, Tom Lane wrote: Andrew Dunstan writes: 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: I have a tiny bit more info: andrew=# load 'plperl.so'; ERROR: CONTEXT: while running Pe

Re: plperl fails with perl 5.28

2018-05-22 Thread Tom Lane
Andrew Dunstan writes: > 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: > I have a tiny bit more info: > andrew=# load 'plperl.so'; > ERROR: > CONTEXT: while running Perl initialization > andrew=# I

Re: plperl fails with perl 5.28

2018-05-22 Thread Andrew Dunstan
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

plperl fails with perl 5.28

2018-05-22 Thread Christoph Berg
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 EXTENSIO