Re: [PATCHES] encoding names

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [PATCHES] encoding names
Дата
Msg-id Pine.LNX.4.30.0108231728310.677-100000@peter.localdomain
обсуждение исходный текст
Ответы Re: [PATCHES] encoding names  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Список pgsql-hackers
Tatsuo Ishii writes:

> > But getdbencoding isn't semantically different from the old
> > getdatabaseencoding.  "encoding" isn't the right term anyway, methinks, it
> > should be "character set".  So maybe database_character_set()?  (No "get"
> > please.)
>
> I'm not a native English speaker, so please feel free to choose more
> appropriate name.
>
> BTW, what's wrong with "encoding"? I don't think, for example EUC-JP
> or utf-8, are character set names.

Hmm, SQL talks of character sets, it has a CHARACTER_SETS view and such.
It's slightly incorrect, I agree.

Maybe we should not touch getdatabaseencoding() right now, given that the
names we currently use are apparently almost correct anyway and
considering the pain it creates to alter them, and instead implement the
information schema views in the future?

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



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

Предыдущее
От: mlw
Дата:
Сообщение: OLAP, Aggregates, and order of operations
Следующее
От: Tom Lane
Дата:
Сообщение: Re: A couple items on TODO