提交 9e7e0302 编写于 作者: D Daniel Gustafsson

Remove leftover from backporting that breaks compilation of xml2

The tuplestore in xpath_table() is created with random access even
though it might not require it, the scaffolding for dealing with
relaxing this (commit 05bba3d1) came
the in 8.4 cycle and is yet to be merged. For now drop down to always
requesting random access awaiting the merge of the 8.4 patches.
上级 4c4e8050
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册