Re: Issue with GRANT/COMMENT ON FUNCTION with default

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jim Nasby <jim(at)nasby(dot)net>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Issue with GRANT/COMMENT ON FUNCTION with default
Date: 2014-05-24 19:19:11
Message-ID: 7882.1400959151@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jim Nasby <jim(at)nasby(dot)net> writes:
> Let me ask a related question: is there any reason why we don't accept argument names or the default specifier in the regprocedure cast?

regprocedure_in does not contain a full SQL parser, which it would pretty
much need in order to deal with default expressions. Argument names it
could possibly ignore without much trouble, but nobody bothered to teach
it about that.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-05-24 19:29:49 Re: SQL access to database attributes
Previous Message Jim Nasby 2014-05-24 18:03:07 Re: Issue with GRANT/COMMENT ON FUNCTION with default