Re: ascii to character conversion in postgres
| От | Karel Zak |
|---|---|
| Тема | Re: ascii to character conversion in postgres |
| Дата | |
| Msg-id | Pine.LNX.3.96.1000918080326.12920A-100000@ara.zf.jcu.cz обсуждение исходный текст |
| Ответ на | Re: ascii to character conversion in postgres (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: ascii to character conversion in postgres
|
| Список | pgsql-hackers |
On Sun, 17 Sep 2000, Tom Lane wrote:
> >> Postgres has an 'ascii' function that converts
> >> characters to ascii, values, but it appears to be a
> >> one way street. I can't find a way to convert ascii
> >> values to characters, like 'chr' in Oracle. Anyone
> >> know how to do this?
>
> ichar(). Since that's part of the "oracle_compatibility" file,
> I'd assumed the function name spelling was the same as Oracle's.
> Not so?
Not documented (from oracle_compat.c) in PG documentation:
btrim()ascii()ichar()repeat()
and about ichar() is nothing in Oracle documentation, it's knows chr()
only...
Directly rename it, or add "alias" entry to the pg_proc?
Or ignore? :-)
Karel
В списке pgsql-hackers по дате отправления: