diff --git a/contrib/xml2/xpath.c b/contrib/xml2/xpath.c index 203e53905be560cd34803dbd6bdcc928d4a183d2..3dbb2c80a877b36ee68178d40b8db1bc4486ad5d 100644 --- a/contrib/xml2/xpath.c +++ b/contrib/xml2/xpath.c @@ -690,9 +690,7 @@ xpath_table(PG_FUNCTION_ARGS) * Create the tuplestore - work_mem is the max in-memory size before a * file is created on disk to hold it. */ - tupstore = - tuplestore_begin_heap(rsinfo->allowedModes & SFRM_Materialize_Random, - false, work_mem); + tupstore = tuplestore_begin_heap(true, false, work_mem); MemoryContextSwitchTo(oldcontext);