pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tim Bunce <Tim.Bunce@pobox.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: lei@aswsyst.cz, pgsql-bugs@postgresql.org, Alex Hunsaker <badalex@gmail.com>
Subject: Re: BUG #13638: Exception texts from plperl has bad encoding
Date: Sun, 27 Sep 2015 19:46:19 -0400
Message-ID: <13303.1443397579@sss.pgh.pa.us> (raw)
In-Reply-To: <20150927141148.GA1416@timac.local>
References: <20150925112345.26913.28407@wrigleys.postgresql.org>
	<18105.1443208708@sss.pgh.pa.us>
	<18478.1443209624@sss.pgh.pa.us>
	<20150925195120.GL295765@alvherre.pgsql>
	<20150927141148.GA1416@timac.local>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Tim Bunce <Tim.Bunce@pobox.com> writes:
> I think you want to call croak_sv(SV) with an SV containing the error
> message and flagged as UTF-8.

I found croak_sv() in the headers for Perl 5.18 (present on OS X Yosemite)
but not in Perl 5.10 (present on RHEL6), much less 5.8 which is the oldest
Perl version we claim to support.  This doesn't look like a workable
answer unless we want to move the compatibility goalposts a long way.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (15+ messages)  latest in thread

Message-ID: <13303.1443397579@sss.pgh.pa.us>
Permalink:  ../13303.1443397579@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13303.1443397579@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Tim.Bunce@pobox.com, alvherre@2ndquadrant.com, badalex@gmail.com
  Subject: Re: BUG #13638: Exception texts from plperl has bad encoding
  In-Reply-To: <13303.1443397579@sss.pgh.pa.us>
  References: <20150925112345.26913.28407@wrigleys.postgresql.org> <18105.1443208708@sss.pgh.pa.us> <18478.1443209624@sss.pgh.pa.us> <20150925195120.GL295765@alvherre.pgsql> <20150927141148.GA1416@timac.local> <13303.1443397579@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox