Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 7F27D1337B79 for ; Tue, 8 Feb 2011 03:19:38 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 71332-02 for ; Tue, 8 Feb 2011 07:19:38 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id AFBBE1337B54 for ; Tue, 8 Feb 2011 03:19:37 -0400 (AST) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id p187Jb92008218 for ; Tue, 8 Feb 2011 07:19:37 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id p187JbmO008217; Tue, 8 Feb 2011 07:19:37 GMT (envelope-from www) Date: Tue, 8 Feb 2011 07:19:37 GMT Message-Id: <201102080719.p187JbmO008217@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #5869: postgresql corrupts unquoted non-ascii chars in column aliases From: "David Schmitt" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201102/69 X-Sequence-Number: 29341 The following bug has been logged online: Bug reference: 5869 Logged by: David Schmitt Email address: david@dasz.at PostgreSQL version: 8.4.5 Operating system: Windows 7 Description: postgresql corrupts unquoted non-ascii chars in column aliases Details: 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. 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 :-(