proposal: less strict input of regprocedure type

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: proposal: less strict input of regprocedure type
Date: 2018-12-01 19:39:59
Message-ID: CAFj8pRC_5pwBs34r47r37H2T+ey+A4PBss5+xLG+945gg6JVUA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2018-12-01 19:49:01 Re: proposal: less strict input of regprocedure type
Previous Message Lætitia Avrot 2018-12-01 18:46:44 Re: Commitfest 2018-11