[PATCH] Add XMLText function (SQL/XML X038)

Поиск
Список
Период
Сортировка
От Jim Jones
Тема [PATCH] Add XMLText function (SQL/XML X038)
Дата
Msg-id 86617a66-ec95-581f-8d54-08059cca8885@uni-muenster.de
обсуждение исходный текст
Ответы Re: [PATCH] Add XMLText function (SQL/XML X038)  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: [PATCH] Add XMLText function (SQL/XML X038)  (Vik Fearing <vik@postgresfriends.org>)
Список pgsql-hackers
Hi,

This small patch proposes the implementation of the standard SQL/XML 
function XMLText (X038). It basically converts a text parameter into an 
xml text node. It uses the libxml2 function xmlEncodeSpecialChars[1] to 
escape possible predefined entities.

This patch also contains documentation and regression tests.

Any thoughts?

Best, Jim

1 - 
https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-entities.html#xmlEncodeSpecialChars

Вложения

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

Предыдущее
От: marekmosiewicz@gmail.com
Дата:
Сообщение: Re: Disable vacuuming to provide data history
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: [PATCH] Add XMLText function (SQL/XML X038)