1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-07 11:02:12 +03:00

Oops, previous backpatch applied incorrectly.

This commit is contained in:
Heikki Linnakangas 2009-12-29 20:49:00 +00:00
parent 67d25e5a85
commit 0404cd5a67

View File

@ -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);