Re: chr() in 7.0.3 !

From: missive(at)frontiernet(dot)net (Lee Harr)
To: pgsql-general(at)postgresql(dot)org
Subject: Re: chr() in 7.0.3 !
Date: 2001-08-19 22:45:53
Message-ID: 9lpfj1$3osc$1@node21.cwnet.roc.gblx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, 19 Aug 2001 20:59:35 +0000 (UTC), omid omoomi <oomoomi(at)hotmail(dot)com>:
> hi all,
> I have pg 7.0.3 installed. I can use ascii() to get the ascii code of a
> character but I can not use chr() to reverse the function... is it a matter
> of the pg version I have? If so, is there any other way to get the text from
> the ascii number?

Hmm.. works in 7.1.2:

select chr(65);

chr
-----
A
(1 row)

Have you tried it like that (selecting a constant?) Maybe it is
a problem with coercing the argument to the proper type...

Could also be new in 7.1 I do not know.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Samuel 2001-08-20 02:00:01 Re: Serial not so unique?
Previous Message omid omoomi 2001-08-19 20:59:40 Re: OT: Design Books