Re: plperl fails with perl 5.28 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: plperl fails with perl 5.28
Date
Msg-id 10366.1527109807@sss.pgh.pa.us
Whole thread Raw
In response to Re: plperl fails with perl 5.28  (Christoph Berg <myon@debian.org>)
Responses Re: plperl fails with perl 5.28  (Christoph Berg <myon@debian.org>)
List pgsql-hackers
Christoph Berg <myon@debian.org> writes:
> Re: Tom Lane 2018-05-23 <23260.1527026547@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-the-end behavior is equivalent to an
explicit "exit(0)".  Perhaps it should not be.  I can see the point of
treating "exit(0)" as an unusual quasi-error case, but fell-off-the-end
probably shouldn't be.

However, then somebody would have to look around and see if there are
any other uses of my_exit(0) that need to be rethought ...

            regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Time to put context diffs in the grave
Next
From: Andrew Dunstan
Date:
Subject: Re: Time to put context diffs in the grave