1
0
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:
Peter Eisentraut
2018-03-05 11:51:15 -05:00
parent dd9ed0bf70
commit 09230e54fb
3 changed files with 7 additions and 13 deletions

View File

@ -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;