mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +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:
@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user