Re: Segfault from PL/Perl Returning vstring

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, Tim Bunce <Tim(dot)Bunce(at)pobox(dot)com>, pgsql-hackers Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Segfault from PL/Perl Returning vstring
Date: 2009-12-22 19:29:07
Message-ID: 20091222192907.GA3949@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

David E. Wheeler wrote:
> On Dec 21, 2009, at 9:04 PM, Andrew Dunstan wrote:
>
> > I cannot reproduce this. I tested with perl 5.10.1 which is the latest reported stable release at <http://www.cpan.org/src/README.html>, on an 8.4.2 UTF8 database, and with the same Safe and Encode module versions as above.
>
> I've replicated it all the way back to 8.0. I'd be happy to give you a login to my box.

If a trivial plperl function can crash the server this is surely worth
some research.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-12-22 20:14:15 Re: LIKE INCLUDING COMMENTS code is a flight of fancy
Previous Message Tom Lane 2009-12-22 19:22:01 Re: Backup history file should be replicated in Streaming Replication?