Re: client libpq multibyte support

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: client libpq multibyte support
Дата
Msg-id 4504.957498004@sss.pgh.pa.us
обсуждение исходный текст
Ответ на client libpq multibyte support  (SAKAIDA Masaaki <sakaida@psn.co.jp>)
Ответы Re: client libpq multibyte support  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Список pgsql-hackers
SAKAIDA Masaaki <sakaida@psn.co.jp> writes:
>     A client application using libpq made by non-MULTIBYTE 
> can not talk to server made by MULTIBYTE.

>  admin=# select * from SJIS_KANJI ;
>  \: extra argument ';' ignored
>  \: extra argument ';' ignored
>  Invalid command \. Try \? for help.        

Ugh :-(.  We have not seen this reported before --- do you know exactly
where it's coming from?  (I suspect it may be a psql issue not a libpq
issue, but hard to say without more info.)

>   I hope that a client 7.0-libpq and an application always be 
> made by "configure --enable-multibyte" even if MULTIBYTE isn't 
> necessary for backend. If so, the above problem will be solved.

I do not think that will go over well with people who don't need
multibyte support, since the MULTIBYTE code is a good deal larger
and slower.  Also, AFAIK we didn't have any such problem in 6.5, so
perhaps this is just a small bug not requiring such a sledgehammer
solution.  We need to look more closely.
        regards, tom lane


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

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: pg_group_name_index corrupt?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Request for 7.0 JDBC status