encoding names

Поиск
Список
Период
Сортировка
От Karel Zak
Тема encoding names
Дата
Msg-id 20010817155018.E3898@zf.jcu.cz
обсуждение исходный текст
Ответы Re: encoding names
Список pgsql-patches
 Hi,

 attached is patch with:

- new encoding names stuff with better performance (binary search
  intead for() and prevent some needless searching)

- possible is use synonyms for encoding (an example ISO-8859-1,
  Latin1, l1)

- implemented is Peter's idea about "encoding names clearing"
  (other chars than [A-Za-z0-9] are irrelevan -- 'ISO-8859-1' is
  same as 'iso8859_1' or iso-8-8-5-9-1 :-)

- share routines for this between FE and BE (never more define
  encoding names separate in FE and BE)

- add prefix PG_ to encoding identificator macros, something like 'ALT'
  is pretty dirty in source code, rather use PG_ALT.

 (Note: patch add new file mb/encname.c and remove mb/common.c)

                Karel

--
 Karel Zak  <zakkr@zf.jcu.cz>
 http://home.zf.jcu.cz/~zakkr/

 C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz

Вложения

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Patch: use SCM_CREDS authentication over PF_LOCAL sockets
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: JDBC Array Support, Take III