Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 352FA1337BE3 for ; Thu, 3 Mar 2011 13:35:21 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 21800-04-5 for ; Thu, 3 Mar 2011 17:35:13 +0000 (UTC) X-Greylist: delayed 00:44:45.088526 by SQLgrey-1.7.6 Received: from hosting.edv-bus.at (hosting.edv-bus.at [78.46.201.105]) by mail.postgresql.org (Postfix) with ESMTP id 4D0951337C1E for ; Thu, 3 Mar 2011 13:35:02 -0400 (AST) Received: from [85.125.146.64] (helo=[10.0.0.213]) by hosting.edv-bus.at with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1PvBjD-0007IY-SA; Thu, 03 Mar 2011 17:50:16 +0100 Message-ID: <4D6FC701.1070407@dasz.at> Date: Thu, 03 Mar 2011 17:51:13 +0100 From: David Schmitt User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.14) Gecko/20110221 Lightning/1.0b2 Thunderbird/3.1.8 MIME-Version: 1.0 To: Robert Haas CC: pgsql-bugs@postgresql.org Subject: Re: BUG #5869: postgresql corrupts unquoted non-ascii chars in column aliases References: <201102080719.p187JbmO008217@wwwmaster.postgresql.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-edv-bus-SpamScore: -4.3 (----) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201103/66 X-Sequence-Number: 29576 On 03.03.2011 16:08, Robert Haas wrote: > On Tue, Feb 8, 2011 at 2:19 AM, David Schmitt wrote: >> Example query: >> >> SELECT column as zurück FROM table; >> >> results in corruption of the "ü" (umlaut u). This causes Npgsql to fail to >> match up the columns in the result set (see >> http://pgfoundry.org/tracker/?func=detail&aid=1010988&group_id=1000140&atid= >> 590) and pgadminIII doesn't display the alias in the result pane. > > That link doesn't show anything interesting when I look at it. What > exactly do you mean by corrupted? There are some garbage bytes instead of the umlaut. >> The same query works with the same tools against a 8.4.5 running on Debian >> squeeze. >> >> If the alias is quoted like this: >> >> SELECT column as "zurück" FROM table; >> >> the query also works against the DB running on windows. >> >> PS: I tried downloading the newest version of the one click installer for >> windows from EnterpriseDB, and noticed that since recently that site >> requires a registration :-( > > I think this has been fixed. Please let me know if not. I presume there is a new 8.4.5 version at enterprisedb.com ? I'll have a look at it later. Best Regards, David -- dasz.at OG Tel: +43 (0)664 2602670 Web: http://dasz.at Klosterneuburg UID: ATU64260999 FB-Nr.: FN 309285 g FB-Gericht: LG Korneuburg