Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit fbed5d4

Browse files
committed
Add braces around an if block, for readability
Jan Urbański, reviewed by Peter Eisentraut, Álvaro Herrera, Tom Lane :-)
1 parent 847e8c7 commit fbed5d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/pl/plpython/plpython.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1007,12 +1007,13 @@ PLy_function_handler(FunctionCallInfo fcinfo, PLyProcedure *proc)
10071007
plargs = PLy_function_build_args(fcinfo, proc);
10081008
plrv = PLy_procedure_call(proc, "args", plargs);
10091009
if (!proc->is_setof)
1010-
1010+
{
10111011
/*
10121012
* SETOF function parameters will be deleted when last row is
10131013
* returned
10141014
*/
10151015
PLy_function_delete_args(proc);
1016+
}
10161017
Assert(plrv != NULL);
10171018
Assert(!PLy_error_in_progress);
10181019
}

0 commit comments

Comments
 (0)