From: Tom Lane <tgl@sss.pgh.pa.us>
To: tfo@monsterlabs.com
Cc: pgsql-general@postgresql.org
Cc: pgsql-admin@postgresql.org
Subject: Re: psql \df and opaque functions
Date: Tue, 05 Mar 2002 19:18:02 -0500
Message-ID: <19611.1015373882@sss.pgh.pa.us> (raw)
In-Reply-To: <20020305183952.GA9181@phantom.monsterlabs.com>
References: <20020305183952.GA9181@phantom.monsterlabs.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, tfo@monsterlabs.com, pgsql-general@postgresql.org
Subject: Re: psql \df and opaque functions
In-Reply-To: <19611.1015373882@sss.pgh.pa.us>
References: <20020305183952.GA9181@phantom.monsterlabs.com> <19611.1015373882@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox