Re: chr() in 7.0.3 !

Поиск
Список
Период
Сортировка
От missive@frontiernet.net (Lee Harr)
Тема Re: chr() in 7.0.3 !
Дата
Msg-id 9lpfj1$3osc$1@node21.cwnet.roc.gblx.net
обсуждение исходный текст
Ответ на chr() in 7.0.3 !  ("omid omoomi" <oomoomi@hotmail.com>)
Список pgsql-general
On Sun, 19 Aug 2001 20:59:35 +0000 (UTC), omid omoomi <oomoomi@hotmail.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.


В списке pgsql-general по дате отправления:

Предыдущее
От: "omid omoomi"
Дата:
Сообщение: Re: OT: Design Books
Следующее
От: Michael Samuel
Дата:
Сообщение: Re: Serial not so unique?