Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 2677C47595E; Tue, 5 Mar 2002 19:18:13 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id g260I3S19614; Tue, 5 Mar 2002 19:18:03 -0500 (EST) To: tfo@monsterlabs.com Cc: pgsql-general@postgresql.org, pgsql-admin@postgresql.org Subject: Re: psql \df and opaque functions In-reply-to: <20020305183952.GA9181@phantom.monsterlabs.com> References: <20020305183952.GA9181@phantom.monsterlabs.com> Comments: In-reply-to tfo@monsterlabs.com message dated "Tue, 05 Mar 2002 12:39:52 -0600" Date: Tue, 05 Mar 2002 19:18:02 -0500 Message-ID: <19611.1015373882@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200203/59 X-Sequence-Number: 3594 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