mirror of
https://github.com/postgres/postgres.git
synced 2025-06-05 23:56:58 +03:00
Oops, previous backpatch applied incorrectly.
This commit is contained in:
parent
67d25e5a85
commit
0404cd5a67
@ -765,6 +765,7 @@ load_categories_hash(char *cats_sql, MemoryContext per_query_ctx)
|
|||||||
HASHCTL ctl;
|
HASHCTL ctl;
|
||||||
int ret;
|
int ret;
|
||||||
int proc;
|
int proc;
|
||||||
|
MemoryContext SPIcontext;
|
||||||
|
|
||||||
/* initialize the category hash table */
|
/* initialize the category hash table */
|
||||||
MemSet(&ctl, 0, sizeof(ctl));
|
MemSet(&ctl, 0, sizeof(ctl));
|
||||||
@ -855,7 +856,6 @@ get_crosstab_tuplestore(char *sql,
|
|||||||
HeapTuple tuple;
|
HeapTuple tuple;
|
||||||
int ret;
|
int ret;
|
||||||
int proc;
|
int proc;
|
||||||
MemoryContext SPIcontext;
|
|
||||||
|
|
||||||
/* initialize our tuplestore */
|
/* initialize our tuplestore */
|
||||||
tupstore = tuplestore_begin_heap(true, false, work_mem);
|
tupstore = tuplestore_begin_heap(true, false, work_mem);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user