From 670efd948e0da20342f0394dca7a69a04ac051c3 Mon Sep 17 00:00:00 2001 From: Justin Pryzby Date: Sun, 25 Oct 2020 13:53:08 -0500 Subject: [PATCH v2 6/6] producement? fcec6caafa2346b6c9d3ad5065e417733bd63cd9 --- src/backend/utils/adt/xml.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/backend/utils/adt/xml.c b/src/backend/utils/adt/xml.c index 4c299057a6..3c2b1fecd3 100644 --- a/src/backend/utils/adt/xml.c +++ b/src/backend/utils/adt/xml.c @@ -4535,11 +4535,11 @@ XmlTableFetchRow(TableFuncScanState *state) xtCxt = GetXmlTableBuilderPrivateData(state, "XmlTableFetchRow"); /* - * XmlTable returns table - set of composite values. The error context, is - * used for producement more values, between two calls, there can be - * created and used another libxml2 error context. It is libxml2 global - * value, so it should be refreshed any time before any libxml2 usage, - * that is finished by returning some value. + * XmlTable returns table-set of composite values. The error context is + * used for providing more detail. Between two calls, other libxml2 + * error contexts might have been created and used ; since they're libxml2 + * global values, they should be refreshed each time before any libxml2 usage + * that finishes by returning some value. */ xmlSetStructuredErrorFunc((void *) xtCxt->xmlerrcxt, xml_errorHandler); -- 2.17.0