Re: [HACKERS] bugfix: xpath encoding issue

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [HACKERS] bugfix: xpath encoding issue
Дата
Msg-id 20170413151920.j6m5ftyltnyldo4y@alvherre.pgsql
обсуждение исходный текст
Ответ на [HACKERS] bugfix: xpath encoding issue  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: [HACKERS] bugfix: xpath encoding issue
Список pgsql-hackers
Pavel Stehule wrote:
> Hi
> 
> When I tested XMLTABLE function I found a bug of XPATH function -
> xpath_internal
> 
> There xmltype is not correctly encoded to xmlChar due possible invalid
> encoding info in header. It is possible when XML was loaded with recv
> function and has not UTF8 encoding.

Hmm ... is it possible to create a test that verifies this?  I suppose
we could have a non-utf8 value as bytea.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [HACKERS] example for xmltable with XMLNAMESPACES
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] pg_dump emits ALTER TABLE ONLY partitioned_table