From: Peter Eisentraut Date: Wed, 19 Jan 2011 19:56:21 +0000 (+0200) Subject: Add braces around an if block, for readability X-Git-Tag: REL9_1_ALPHA4~419 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fbed5d48307528c8b49ba48e741817e75146ea8f;p=postgresql Add braces around an if block, for readability Jan Urbański, reviewed by Peter Eisentraut, Álvaro Herrera, Tom Lane :-) --- diff --git a/src/pl/plpython/plpython.c b/src/pl/plpython/plpython.c index e7328ae062..d083c6e118 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); }