mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-11-27 07:21:09 +08:00
Add braces around an if block, for readability
Jan Urbański, reviewed by Peter Eisentraut, Álvaro Herrera, Tom Lane :-)
This commit is contained in:
parent
847e8c7783
commit
fbed5d4830
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user