Re: bugfix: --echo-hidden is not supported by \sf statements - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: bugfix: --echo-hidden is not supported by \sf statements
Date
Msg-id 20130226191906.GX16142@tamriel.snowman.net
Whole thread Raw
In response to Re: bugfix: --echo-hidden is not supported by \sf statements  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> Well, actually I think Pavel's got a point.  What about overloaded
> functions?  In \df we don't try to solve that problem, we just print
> them all:

To be honest, I was reading through that code the other night and could
have sworn that I saw us doing some kind of magic on the arguments under
\df, but of course I don't see it now.

> Now, maybe we *should* teach \df about handling parameter types and
> then \ef can piggyback on it, but that code isn't there now.

That's definitely the right approach, imv.  It should also work if only
a function name is provided and it's not overloaded, of course.
Thanks,
    Stephen

pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: 9.2.3 crashes during archive recovery
Next
From: Andrew Dunstan
Date:
Subject: Re: bugfix: --echo-hidden is not supported by \sf statements