From fbed5d48307528c8b49ba48e741817e75146ea8f Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 19 Jan 2011 21:56:21 +0200 Subject: [PATCH] Add braces around an if block, for readability MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Jan Urbański, reviewed by Peter Eisentraut, Álvaro Herrera, Tom Lane :-) --- src/pl/plpython/plpython.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.40.0