Re: ascii to character conversion in postgres

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ascii to character conversion in postgres
Дата
Msg-id 14511.969290507@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: ascii to character conversion in postgres  (Karel Zak <zakkr@zf.jcu.cz>)
Ответы Re: ascii to character conversion in postgres
Список pgsql-hackers
Karel Zak <zakkr@zf.jcu.cz> writes:
>  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...

Sounds to me like calling it ichar() was an error, then.  Should be chr().

> Directly rename it, or add "alias" entry to the pg_proc? 

The alias would only be useful to people who had been using it as
"ichar()" --- which is not many people, since it's undocumented ;-)
Furthermore, now that I look, it looks like ichar() was new in
contrib/odbc in 7.0 and has only recently been moved into the main
code.

I vote for just renaming it to chr().  Any objections?
        regards, tom lane


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

Предыдущее
От: "g.p.ciceri"
Дата:
Сообщение: contrib module soundex in CVS snapshot (function returning text and TOAST ???)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: pg_dump tries to do too much per query