BUG #5323: plperl and plperlu interaction segfaults - Mailing list pgsql-bugs

From Dave Olszewski
Subject BUG #5323: plperl and plperlu interaction segfaults
Date
Msg-id 201002111844.o1BIi33v060646@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #5323: plperl and plperlu interaction segfaults  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      5323
Logged by:          Dave Olszewski
Email address:      cxreg@pobox.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.

pgsql-bugs by date:

Previous
From: Robert Haas
Date:
Subject: Re: BUG #5314: Error in nested composite types in plpgsql.
Next
From: Tom Lane
Date:
Subject: Re: BUG #5314: Error in nested composite types in plpgsql.