proposal: less strict input of regprocedure type - Mailing list pgsql-hackers

From Pavel Stehule
Subject proposal: less strict input of regprocedure type
Date
Msg-id CAFj8pRC_5pwBs34r47r37H2T+ey+A4PBss5+xLG+945gg6JVUA@mail.gmail.com
Whole thread Raw
Responses Re: proposal: less strict input of regprocedure type  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi

input value of regrocedure type should be complete function signature.

postgres=# select 'uni'::regprocedure;
ERROR:  expected a left parenthesis
LINE 1: select 'uni'::regprocedure;
               ^

I think so it is not necessary, when function name is unique.

plpgsql_check uses regprocedure type parameters often and less strict input can be more user friendly - almost all business logic functions has uniq name.  I don't propose to change a output. It will be same - complete function signature.

What do you think about this proposal?

Regards

Pavel

pgsql-hackers by date:

Previous
From: Lætitia Avrot
Date:
Subject: Re: Commitfest 2018-11
Next
From: Tom Lane
Date:
Subject: Re: proposal: less strict input of regprocedure type