mirror of
https://github.com/postgres/postgres.git
synced 2025-12-13 14:22:43 +03:00
Remove some obsolete procedure-specific code from PLs
Since procedures are now declared to return void, code that handled return values for procedures separately is no longer necessary.
This commit is contained in:
@@ -206,9 +206,9 @@ PLy_procedure_create(HeapTuple procTup, Oid fn_oid, bool is_trigger)
|
||||
|
||||
/*
|
||||
* get information required for output conversion of the return value,
|
||||
* but only if this isn't a trigger or procedure.
|
||||
* but only if this isn't a trigger.
|
||||
*/
|
||||
if (!is_trigger && procStruct->prokind != PROKIND_PROCEDURE)
|
||||
if (!is_trigger)
|
||||
{
|
||||
Oid rettype = procStruct->prorettype;
|
||||
HeapTuple rvTypeTup;
|
||||
|
||||
Reference in New Issue
Block a user