BUG #2397: 1 = SELECT ASCII(CHR(257))

From: "Pter Szab" <pts(at)szszi(dot)hu>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #2397: 1 = SELECT ASCII(CHR(257))
Date: 2006-04-14 16:04:43
Message-ID: 200604141604.k3EG4hl7065725@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 2397
Logged by: Pter Szab
Email address: pts(at)szszi(dot)hu
PostgreSQL version: 8.1.3
Operating system: Linux
Description: 1 = SELECT ASCII(CHR(257))
Details:

Hi!

I have a Unicode-enabled PostgreSQL with the database encoding set to
UNICODE and the client encoding set to UTF-8.

I think ASCII(CHR(257)) should return 257, and not 1. Or, there should be
another function in place of ASCII, that returns 257.

Best regards,

Pter Szab
free software consultant
Free Software Institute, Hungary

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Brant 2006-04-14 19:48:06 Re: Permission denied on fsync / Win32 (was right
Previous Message Andreas Pflug 2006-04-14 09:51:44 Re: BUG #2386: pg_restore doesn't restore large objects