From: David Schmitt <david@dasz.at>
To: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5869: postgresql corrupts unquoted non-ascii chars in column aliases
Date: Thu, 03 Mar 2011 17:51:13 +0100
Message-ID: <4D6FC701.1070407@dasz.at> (raw)
In-Reply-To: <AANLkTi=1LjhQyNuswYJ4X3HvuznC3s8zxzgn2Fqt3aQQ@mail.gmail.com>
References: <201102080719.p187JbmO008217@wwwmaster.postgresql.org>
<AANLkTi=1LjhQyNuswYJ4X3HvuznC3s8zxzgn2Fqt3aQQ@mail.gmail.com>
On 03.03.2011 16:08, Robert Haas wrote:
> On Tue, Feb 8, 2011 at 2:19 AM, David Schmitt<david@dasz.at> 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
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: david@dasz.at, robertmhaas@gmail.com
Subject: Re: BUG #5869: postgresql corrupts unquoted non-ascii chars in column aliases
In-Reply-To: <4D6FC701.1070407@dasz.at>
References: <201102080719.p187JbmO008217@wwwmaster.postgresql.org> <AANLkTi=1LjhQyNuswYJ4X3HvuznC3s8zxzgn2Fqt3aQQ@mail.gmail.com> <4D6FC701.1070407@dasz.at>
* 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