mirror of
https://github.com/postgres/postgres.git
synced 2025-07-17 06:41:09 +03:00
Post-feature-freeze pgindent run.
Discussion: https://postgr.es/m/15719.1523984266@sss.pgh.pa.us
This commit is contained in:
@ -199,10 +199,10 @@ PLy_exec_function(FunctionCallInfo fcinfo, PLyProcedure *proc)
|
||||
error_context_stack = &plerrcontext;
|
||||
|
||||
/*
|
||||
* For a procedure or function declared to return void, the Python return value
|
||||
* must be None. For void-returning functions, we also treat a None
|
||||
* return value as a special "void datum" rather than NULL (as is the
|
||||
* case for non-void-returning functions).
|
||||
* For a procedure or function declared to return void, the Python
|
||||
* return value must be None. For void-returning functions, we also
|
||||
* treat a None return value as a special "void datum" rather than
|
||||
* NULL (as is the case for non-void-returning functions).
|
||||
*/
|
||||
if (proc->result.typoid == VOIDOID)
|
||||
{
|
||||
|
Reference in New Issue
Block a user