mirror of
https://github.com/postgres/postgres.git
synced 2025-05-05 09:19:17 +03: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);
|
plargs = PLy_function_build_args(fcinfo, proc);
|
||||||
plrv = PLy_procedure_call(proc, "args", plargs);
|
plrv = PLy_procedure_call(proc, "args", plargs);
|
||||||
if (!proc->is_setof)
|
if (!proc->is_setof)
|
||||||
|
{
|
||||||
/*
|
/*
|
||||||
* SETOF function parameters will be deleted when last row is
|
* SETOF function parameters will be deleted when last row is
|
||||||
* returned
|
* returned
|
||||||
*/
|
*/
|
||||||
PLy_function_delete_args(proc);
|
PLy_function_delete_args(proc);
|
||||||
|
}
|
||||||
Assert(plrv != NULL);
|
Assert(plrv != NULL);
|
||||||
Assert(!PLy_error_in_progress);
|
Assert(!PLy_error_in_progress);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user