Re: Add GUC to enable libxml2's XML_PARSE_HUGE

Поиск
Список
Период
Сортировка
От Jim Jones
Тема Re: Add GUC to enable libxml2's XML_PARSE_HUGE
Дата
Msg-id 1f3eca95-c9ba-4fd1-8c7b-01c86aea2408@uni-muenster.de
обсуждение исходный текст
Ответ на Re: Add GUC to enable libxml2's XML_PARSE_HUGE  (Erik Wienhold <ewie@ewie.name>)
Список pgsql-hackers

On 21.08.25 04:26, Erik Wienhold wrote:
> I guess the excuse for xmloption is that the SQL standard defines SET
> XML OPTION.

I guess you're right... in this case the standard dictates what should
be done. It just doesn't change the fact that depending on the parameter
value the same query succeeds or fails, which is pretty much what would
happen with xml_parse_huge.

>> Would you see any other way, other than a GUC, to provide this
>> feature?
> Forking off the core XML code into an extension to provide a custom xml
> data type with the desired parsing behavior? :(

That could work. I'm just afraid it would be too much trouble just to
enable text nodes larger than 10MB.

Regards, Jim



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