From: Heikki Linnakangas Date: Tue, 29 Dec 2009 20:49:00 +0000 (+0000) Subject: Oops, previous backpatch applied incorrectly. X-Git-Tag: REL8_3_10~47 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0404cd5a67a24a2fdfe1d2c501f197dfd39dffdb;p=thirdparty%2Fpostgresql.git Oops, previous backpatch applied incorrectly. --- 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);