Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2011-01-19 19:56:21 +0000
committerPeter Eisentraut2011-01-19 19:56:21 +0000
commitfbed5d48307528c8b49ba48e741817e75146ea8f (patch)
tree5d53669dfb4fc86c153990fb3025de5442b4e7ee /src/pl/plpython/plpython.c
parent847e8c7783e877bbdc6a89250ade7d264eee5593 (diff)
Add braces around an if block, for readability
Jan Urbański, reviewed by Peter Eisentraut, Álvaro Herrera, Tom Lane :-)
Diffstat (limited to 'src/pl/plpython/plpython.c')
-rw-r--r--src/pl/plpython/plpython.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pl/plpython/plpython.c b/src/pl/plpython/plpython.c
index e7328ae062f..d083c6e118e 100644
--- 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);
}