BUG #5335: GUC value lost on exception

From: "Tim Bunce" <Tim(dot)Bunce(at)pobox(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #5335: GUC value lost on exception
Date: 2010-02-18 11:00:05
Message-ID: 201002181100.o1IB05pp066568@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 5335
Logged by: Tim Bunce
Email address: Tim(dot)Bunce(at)pobox(dot)com
PostgreSQL version: 8.4.2
Operating system: OS X
Description: GUC value lost on exception
Details:

andrew=# SET SESSION plperl.use_strict = on;
SET
andrew=# SHOW plperl.use_strict;
plperl.use_strict
-------------------
on
(1 row)

andrew=# DO $$ elog(ERROR,"error") $$ language plperl;
ERROR: error at line 1.
CONTEXT: PL/Perl anonymous code block
andrew=# SHOW plperl.use_strict;
plperl.use_strict
-------------------
off
(1 row)

See http://archives.postgresql.org/message-id/4B4FB92D.5040308@dunslane.net
and the thread following it.

See also
http://archives.postgresql.org/message-id/4B577E9F.8000505@dunslane.net

Browse pgsql-bugs by date

  From Date Subject
Next Message Tim Bunce 2010-02-18 18:09:00 Re: BUG #5334: Version 2.22 of Perl Safe module breaks UTF8 PostgreSQL 8.4
Previous Message Tim Bunce 2010-02-18 10:50:23 BUG #5334: Version 2.22 of Perl Safe module breaks UTF8 PostgreSQL 8.4