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

Lines changed: 2 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy