Re: psql \df and opaque functions - Mailing list pgsql-admin

From Tom Lane
Subject Re: psql \df and opaque functions
Date
Msg-id 19611.1015373882@sss.pgh.pa.us
Whole thread Raw
In response to psql \df and opaque functions  (tfo@monsterlabs.com)
List pgsql-admin
tfo@monsterlabs.com writes:
> is it a known issue that \df in psql does not list functions that return
> opaque (i.e., those used in triggers)?

I believe this was done deliberately as a means of suppressing I/O
conversion functions from the display.  I'm not sure I agree with that,
and I am sure that it hides more stuff than just conversion functions,
but that was the rationale.

There's been talk on pghackers of breaking down the notion of type
"opaque", which is presently overloaded to mean about half a dozen
different things, into several pseudo-types that would have crisper
definitions.  That would probably make it possible to identify I/O
functions with much more reliability, and so improve the accuracy
of \df's filtering of "uninteresting" functions.

            regards, tom lane

pgsql-admin by date:

Previous
From: Linda Fousek
Date:
Subject: FATAL ERROR: database does not exist in the system catalog
Next
From: lfousek@v2group.com (Linda Fousek)
Date:
Subject: FATAL ERROR: database does not exist in the system catalog