projects
/
users
/
kgrittn
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
847e8c7
)
Add braces around an if block, for readability
author
Peter Eisentraut
<peter_e@gmx.net>
Wed, 19 Jan 2011 19:56:21 +0000
(21:56 +0200)
committer
Peter Eisentraut
<peter_e@gmx.net>
Wed, 19 Jan 2011 19:56:21 +0000
(21:56 +0200)
Jan Urbański, reviewed by Peter Eisentraut, Álvaro Herrera, Tom Lane :-)
src/pl/plpython/plpython.c
patch
|
blob
|
blame
|
history
diff --git
a/src/pl/plpython/plpython.c
b/src/pl/plpython/plpython.c
index e7328ae062f2de441fe18bbbfd35428b8bccbbb2..d083c6e118ec5ff28022aff3091ac6d4ebba50e5 100644
(file)
--- a/
src/pl/plpython/plpython.c
+++ b/
src/pl/plpython/plpython.c
@@
-1007,12
+1007,13
@@
PLy_function_handler(FunctionCallInfo fcinfo, PLyProcedure *proc)
plargs = PLy_function_build_args(fcinfo, proc);
plrv = PLy_procedure_call(proc, "args", plargs);
if (!proc->is_setof)
-
+ {
/*
* SETOF function parameters will be deleted when last row is
* returned
*/
PLy_function_delete_args(proc);
+ }
Assert(plrv != NULL);
Assert(!PLy_error_in_progress);
}