Re: BUG #13638: Exception texts from plperl has bad encoding

From: Tim Bunce <Tim(dot)Bunce(at)pobox(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, lei(at)aswsyst(dot)cz, pgsql-bugs(at)postgresql(dot)org, Alex Hunsaker <badalex(at)gmail(dot)com>, Tim Bunce <Tim(dot)Bunce(at)pobox(dot)com>
Subject: Re: BUG #13638: Exception texts from plperl has bad encoding
Date: 2015-09-27 14:11:48
Message-ID: 20150927141148.GA1416@timac.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Fri, Sep 25, 2015 at 04:51:20PM -0300, Alvaro Herrera wrote:
> Tom Lane wrote:
>
> > It's still beyond my Perl-fu ...
>
> Maybe Alex or Tim can shed some light? Please see:
> http://www.postgresql.org/message-id/flat/20150925112345(dot)26913(dot)28407(at)wrigleys(dot)postgresql(dot)org

I think you want to call croak_sv(SV) with an SV containing the error
message and flagged as UTF-8.

Yim.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2015-09-27 18:59:49 Re: BUG #13643: Should a process dying bring postgresql down, or not?
Previous Message Amir Rohan 2015-09-27 02:36:11 Re: BUG #13642: no backup_label file in PG_DATA after pg_stop_backup();