]> granicus.if.org Git - postgresql/commitdiff
Add braces around an if block, for readability
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 19 Jan 2011 19:56:21 +0000 (21:56 +0200)
committerPeter 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

index e7328ae062f2de441fe18bbbfd35428b8bccbbb2..d083c6e118ec5ff28022aff3091ac6d4ebba50e5 100644 (file)
@@ -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);
                }