Re: plperl on windows - Mailing list pgsql-hackers

From Andres Freund
Subject Re: plperl on windows
Date
Msg-id 20211005004334.tgjmro4kuachwiuc@alap3.anarazel.de
Whole thread Raw
In response to plperl on windows  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Hi,

On 2021-10-04 14:38:16 -0700, Andres Freund wrote:
> 3) When building against strawberry perl 5.32.1.1 I see errors when loading
>    plperl
>
> 4) When building against strawberry perl 5.30.3.1 I see a crash during
>    execution of very simple statements [1]
>
> 5) Finally when building against strawberry perl 5.28.2.1, plperl kinda
>    works. But there's a lot of regression test failures, many of them
>    seemingly around error trapping.

Here's a CI run testing various strawberry perl versions on windows. I did
apply Victor's patch to make things at least compile on newer versions of perl.

https://cirrus-ci.com/build/6290387791773696
- 5.32.1.1: fails with "src/pl/plperl/Util.c: loadable library and perl binaries are mismatched (got handshake key
0000000012800080,needed 0000000012900080)"
 
- 5.30.3.1: crashes in plperl_trusted_init(), see "cat_dumps" step for backtrace
- 5.28.2.1: doesn't crash, but lots of things don't seem to work, particularly
  around error handling (to see regression diff, click on regress_diffs near
  the top, and navigate to src/pl/plperl)
- 5.24.4.1 and 5.26.3.1: pass

The 5.32.1.1 issue looks like it might actually a problem in strawberry perl
perhaps? But the rest not so much.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Mark Dilger
Date:
Subject: Re: BUG #17212: pg_amcheck fails on checking temporary relations
Next
From: "k.jamison@fujitsu.com"
Date:
Subject: RE: Transactions involving multiple postgres foreign servers, take 2