Re: BUG #6204: Using plperl functions generate crash - Mailing list pgsql-bugs

From Robert Haas
Subject Re: BUG #6204: Using plperl functions generate crash
Date
Msg-id CA+Tgmobntf7sZR1jw4L5FGCK9bXvKEFkbNGxVwE927VxW9zdmg@mail.gmail.com
Whole thread Raw
In response to Re: BUG #6204: Using plperl functions generate crash  (Simon Willett <simonw@gbitsystems.co.uk>)
Responses Re: BUG #6204: Using plperl functions generate crash  (ljwilson <ljwilson@digitalav.com>)
List pgsql-bugs
On Tue, Apr 10, 2012 at 7:01 AM, Simon Willett <simonw@gbitsystems.co.uk> wrote:
> I'm running into the same issue here.
>
> After install postgresql 9.1.2 and Activestate perl 5.14.2 execute:
> create function perl_test() returns void as
> $$
> $$
> language plperl
>
> Generates server crash.
>
> PostgreSQL version string: PostgreSQL 9.1.2, compiled by Visual C++ build
> 1500, 32 bit - Enterprise DB download
> ActiveState version string: This is perl 5, version 14, subversion 2
> (v5.14.2) built for MSWin32-x86-multi-thread
>
> Is there a recommended way to solve this issue, has it been fixed in a later
> release?

The previous discussion seems to indicate that it's caused by using
the wrong version of Perl.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgsql-bugs by date:

Previous
From: Robert Haas
Date:
Subject: Re: BUG #6572: The example of SPI_execute is bogus
Next
From: jon.plotky@gmail.com
Date:
Subject: BUG #6601: Inconsistent behavior of ALTER TABLE ADD COLUMN