so 25. 1. 2025 v 9:10 odesílatel Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>
napsal:
>
> On 25.01.25 08:16, Pavel Stehule wrote:
> > because the function does nothing, then it is useless to convert input
> > to XML and force detosting
>
> Right. Fixed in v7 attached.
>
I don't see
+Datum
+xmldocument(PG_FUNCTION_ARGS)
+{
+#ifdef USE_LIBXML
+ PG_RETURN_XML_P(PG_GETARG_XML_P(0));
+#else
+ NO_XML_SUPPORT();
+ return 0;
+#endif /* not USE_LIBXML */
+}
+
you still forces detoasting (inside PG_GETARG_XML_P)
>
> Thanks
>
> Best, Jim
>