Re: Bug in UTF8-Validation Code?

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: Bug in UTF8-Validation Code?
Дата
Msg-id 20070402.134958.58463924.t-ishii@sraoss.co.jp
обсуждение исходный текст
Ответ на Re: Bug in UTF8-Validation Code?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Bug in UTF8-Validation Code?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Mark Dilger <pgsql@markdilger.com> writes:
> > Refactoring the way these table driven functions work would impact
> > lots of other code.  Just grep for all files #including mb/pg_wchar.h
> > for the list of them.  The list includes interfaces/libpq, and I'm
> > wondering if software that links against postgres might rely on these
> > function prototypes?
> 
> No, we've never exported those with the intent that client code should
> use 'em.  Doing so would require importing non-public headers, and
> anyone who does that can have no grounds for complaining if the headers
> change incompatibly.

I thought PQescapeString() of 8.3 uses mbverify functions to make sure
that user supplied multibyte string is valid.
--
Tatsuo Ishii
SRA OSS, Inc. Japan


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Bug in UTF8-Validation Code?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Bug in UTF8-Validation Code?