mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +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:
@ -2832,8 +2832,7 @@ compile_plperl_function(Oid fn_oid, bool is_trigger, bool is_event_trigger)
|
||||
* Get the required information for input conversion of the
|
||||
* return value.
|
||||
************************************************************/
|
||||
if (!is_trigger && !is_event_trigger &&
|
||||
procStruct->prokind != PROKIND_PROCEDURE)
|
||||
if (!is_trigger && !is_event_trigger)
|
||||
{
|
||||
Oid rettype = procStruct->prorettype;
|
||||
|
||||
|
Reference in New Issue
Block a user