Re: bugfix: --echo-hidden is not supported by \sf statements

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Stephen Frost <sfrost@snowman.net>, Josh Kupershmidt <schmiddy@gmail.com>, Robert Haas <robertmhaas@gmail.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2013-02-23T10:55:54Z
Lists: pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> 2013/2/23 Stephen Frost <sfrost@snowman.net>:
>> Why is that?  lookup_function_oid() only collects the oid to pass to
>> get_create_function_cmd(), why not just issue one query to the backend?
>> And use PSQLexec() to boot and get --echo-hidden, etc, for free?  And
>> eliminate the one-off error handling for just this case?

> yes, we can do it. There is only one issue

> routines for parsing function signature in regproc and regprocedure
> should be updated - and I would to get some agreement than I start to
> do modify core.

Uh ... you seem to be asking for a blank check to modify regprocedure,
which is unlikely to be forthcoming.  Why do you think these things need
to be changed, and to what?

			regards, tom lane