From 0404cd5a67a24a2fdfe1d2c501f197dfd39dffdb Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Tue, 29 Dec 2009 20:49:00 +0000 Subject: [PATCH] Oops, previous backpatch applied incorrectly. --- contrib/tablefunc/tablefunc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/tablefunc/tablefunc.c b/contrib/tablefunc/tablefunc.c index 019c2175bb2..8c09e671533 100644 --- a/contrib/tablefunc/tablefunc.c +++ b/contrib/tablefunc/tablefunc.c @@ -765,6 +765,7 @@ load_categories_hash(char *cats_sql, MemoryContext per_query_ctx) HASHCTL ctl; int ret; int proc; + MemoryContext SPIcontext; /* initialize the category hash table */ MemSet(&ctl, 0, sizeof(ctl)); @@ -855,7 +856,6 @@ get_crosstab_tuplestore(char *sql, HeapTuple tuple; int ret; int proc; - MemoryContext SPIcontext; /* initialize our tuplestore */ tupstore = tuplestore_begin_heap(true, false, work_mem);