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