Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 1C612634294 for ; Sun, 7 Jun 2009 14:34:50 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 28480-02 for ; Sun, 7 Jun 2009 14:34:46 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from joeconway.com (wsip-72-214-29-243.sd.sd.cox.net [72.214.29.243]) by mail.postgresql.org (Postfix) with ESMTP id 4F6C86333DA for ; Sun, 7 Jun 2009 14:34:47 -0300 (ADT) Received: from [192.168.4.40] (account jconway [192.168.4.40] verified) by joeconway.com (CommuniGate Pro SMTP 4.1.8) with ESMTP-TLS id 7906306; Sun, 07 Jun 2009 10:34:46 -0700 Message-ID: <4A2BFA36.701@joeconway.com> Date: Sun, 07 Jun 2009 10:34:46 -0700 From: Joe Conway User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.12) Gecko/20071019 Fedora/1.5.0.12-3.fc6 pango-text Thunderbird/1.5.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: Tom Lane CC: "Hackers (PostgreSQL)" Subject: Re: [Fwd: Re: dblink patches for comment] References: <4A29E789.1050405@joeconway.com> <10658.1244304503@sss.pgh.pa.us> <4A2AAA80.9060905@joeconway.com> <12129.1244310667@sss.pgh.pa.us> <4A2B1681.4050405@joeconway.com> <2557.1244338303@sss.pgh.pa.us> In-Reply-To: <2557.1244338303@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.158 tagged_above=0 required=5 tests=AWL=0.058, RDNS_DYNAMIC=0.1 X-Spam-Level: X-Archive-Number: 200906/562 X-Sequence-Number: 139617 Tom Lane wrote: > Joe Conway writes: >> how to trigger the failure (and therefore how to test the solution). A >> naive test with two databases, one LATIN2, the other UTF8 does not >> produce the error with simple text literals. Any guidance on specific >> literals that would trigger the problem? > > Hmm, sending some non-ASCII characters from the LATIN2 end to the UTF8 > end should do it, I would think. The other direction would probably > not show any immediate error. I tried some random high-bit characters on the LATIN2 side, but was not able to stumble upon the right combination of characters to trigger a complaint. I've contacted Ruzsinszky Attila off-list and he said he will get me a self contained test case. Joe