Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZgwJk-0001hS-EH for pgsql-bugs@arkaria.postgresql.org; Tue, 29 Sep 2015 14:55:44 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZgwJj-0007aK-Um for pgsql-bugs@arkaria.postgresql.org; Tue, 29 Sep 2015 14:55:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZgwJj-0007Yh-4n for pgsql-bugs@postgresql.org; Tue, 29 Sep 2015 14:55:43 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZgwJf-0001Lo-Da for pgsql-bugs@postgresql.org; Tue, 29 Sep 2015 14:55:42 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t8TEtKI3014109; Tue, 29 Sep 2015 10:55:20 -0400 From: Tom Lane To: Alex Hunsaker cc: Tim Bunce , Alvaro Herrera , lei@aswsyst.cz, pgsql-bugs Subject: Re: BUG #13638: Exception texts from plperl has bad encoding In-reply-to: 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> <23013.1443457683@sss.pgh.pa.us> Comments: In-reply-to Alex Hunsaker message dated "Mon, 28 Sep 2015 21:51:05 -0600" Date: Tue, 29 Sep 2015 10:55:20 -0400 Message-ID: <14108.1443538520@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Alex Hunsaker writes: > On Mon, Sep 28, 2015 at 10:28 AM, Tom Lane wrote: >> BTW, I think we can't actually use this regression test case, [...] > Agreed. I'll attach it separately just for easy verification that > everything is working as intended. After awhile I remembered that we already had a similar test case in plpython: it's testing with no-break space (U+A0) which has an equivalent in most encodings. So I adopted that strategy, and pushed this with a test case. We'll soon see if the buildfarm likes it. 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