projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67d25e5
)
Oops, previous backpatch applied incorrectly.
author
Heikki Linnakangas
<
[email protected]
>
Tue, 29 Dec 2009 20:49:00 +0000
(20:49 +0000)
committer
Heikki Linnakangas
<
[email protected]
>
Tue, 29 Dec 2009 20:49:00 +0000
(20:49 +0000)
contrib/tablefunc/tablefunc.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/tablefunc/tablefunc.c
b/contrib/tablefunc/tablefunc.c
index 019c2175bb29180f35a8561df2321b522916930f..8c09e671533291e2d9874d03da7901749f4410f8 100644
(file)
--- 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);