pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michal Leinweber <lei@aswsyst.cz>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #13638: Exception texts from plperl has bad encoding
Date: Fri, 25 Sep 2015 16:44:07 -0400
Message-ID: <20832.1443213847@sss.pgh.pa.us> (raw)
In-Reply-To: <d7e348cdf513e534e0a1a08d55d77d77@leisoft.cz>
References: <20150925112345.26913.28407@wrigleys.postgresql.org>
	<18105.1443208708@sss.pgh.pa.us>
	<18478.1443209624@sss.pgh.pa.us>
	<d7e348cdf513e534e0a1a08d55d77d77@leisoft.cz>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Michal Leinweber <lei@aswsyst.cz> writes:
> The problem is not only with elog call, but it also fires if plpgsql 
> code called from plperl function raises exception.

Hmm, yeah, there are a whole bunch of instances of that croak("%s",
edata->message) pattern, and most of them don't have an ancestral SV
to work from.  So we'll need a more general solution anyway, and it
may not be worth changing do_util_elog() to work in a fundamentally
different way than the rest.

			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: <20832.1443213847@sss.pgh.pa.us>
Permalink:  ../20832.1443213847@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20832.1443213847@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, lei@aswsyst.cz
  Subject: Re: BUG #13638: Exception texts from plperl has bad encoding
  In-Reply-To: <20832.1443213847@sss.pgh.pa.us>
  References: <20150925112345.26913.28407@wrigleys.postgresql.org> <18105.1443208708@sss.pgh.pa.us> <18478.1443209624@sss.pgh.pa.us> <d7e348cdf513e534e0a1a08d55d77d77@leisoft.cz> <20832.1443213847@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