Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group