Re: BUG #5323: plperl and plperlu interaction segfaults

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Dave Olszewski <cxreg(at)pobox(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5323: plperl and plperlu interaction segfaults
Date: 2010-02-11 20:02:05
Message-ID: 603c8f071002111202o391087fen53b9ed2a500029d9@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Feb 11, 2010 at 1:44 PM, Dave Olszewski <cxreg(at)pobox(dot)com> wrote:
>
> The following bug has been logged online:
>
> Bug reference:      5323
> Logged by:          Dave Olszewski
> Email address:      cxreg(at)pobox(dot)com
> PostgreSQL version: 8.3.9
> Operating system:   Linux
> Description:        plperl and plperlu interaction segfaults
> Details:
>
> Creating the following functions reliably segfaults Postgres for me:
>
> CREATE LANGUAGE 'plperl';
> CREATE LANGUAGE 'plperlu';
> CREATE OR REPLACE FUNCTION test_one() RETURNS TRIGGER AS $$ $$ language
> 'plperlu';
> CREATE OR REPLACE FUNCTION test_two() RETURNS TRIGGER AS $$ $$ language
> 'plperl';
> CREATE OR REPLACE FUNCTION test_two() RETURNS TRIGGER AS $$ $$ language
> 'plperl';
>
> A possibly interesting note is that if I create "two, one, two two" it will
> not crash, but just 'one, two two" will.

I think this might be the same problem previously discussed here:

http://archives.postgresql.org/pgsql-bugs/2010-01/msg00224.php

Does that patch fix it?

...Robert

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alexey Klyukin 2010-02-11 20:12:56 Re: BUG #5323: plperl and plperlu interaction segfaults
Previous Message Tom Lane 2010-02-11 18:58:32 Re: BUG #5314: Error in nested composite types in plpgsql.