Re: encoding: ODBC, createdb

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: encoding: ODBC, createdb
Дата
Msg-id 3B81B2A5.D9BEA715@tpf.co.jp
обсуждение исходный текст
Ответ на Re: [PATCHES] encoding names  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Ответы Re: encoding: ODBC, createdb  (Karel Zak <zakkr@zf.jcu.cz>)
Список pgsql-hackers
Karel Zak wrote:
> 
>  I found some other things:
> 
> - ODBC -- here is some multibyte stuff too. Why ODBC code don't use
>   pg_wchar.h where is all defined? In odbc/multibyte.h is again defined
>   all encoding identificators.
> 
>   IMHO we can use for ODBC same solution as for libpq and compile it
>   with encname.c file too.

ODBC under Windows needs no source/header files in PostgreSQL
other than in src/interfaces/odbc. It's not preferable for 
psqlodbc driver to be sensitive about other PostgreSQL changes
because the driver has to be able to talk multiple versions of
PostgreSQL servers. In fact the current driver could talk to 
any server whose version >= 6.2(according to a person).
As for pg_wchar.h I'm not sure if it could be an exception
and we could expect for the maintainer to take care of ODBC.
If I were he, I would hate it.

regards,
Hiroshi Inoue


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

Предыдущее
От: "Dave Cramer"
Дата:
Сообщение: Fully qualified column names
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Status of ipcclean