Re: psql \df and opaque functions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: tfo(at)monsterlabs(dot)com
Cc: pgsql-general(at)postgresql(dot)org, pgsql-admin(at)postgresql(dot)org
Subject: Re: psql \df and opaque functions
Date: 2002-03-06 00:18:02
Message-ID: 19611.1015373882@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

tfo(at)monsterlabs(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Linda Fousek 2002-03-06 00:21:19 FATAL ERROR: database does not exist in the system catalog
Previous Message Linda Fousek 2002-03-05 23:58:01 FATAL ERROR: database does not exist in the system catalog

Browse pgsql-general by date

  From Date Subject
Next Message Justin Clift 2002-03-06 00:52:51 Re: [HACKERS] Mandrake RPMs uploaded
Previous Message Tom Lane 2002-03-06 00:06:54 Re: Archiver(custom): could not initialize compression library - (null)