pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
psql \df and opaque functions
2+ messages / 2 participants
[nested] [flat]

* psql \df and opaque functions
@ 2002-03-05 18:39 tfo@monsterlabs.com
  2002-03-06 00:18 ` Re: psql \df and opaque functions Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: tfo@monsterlabs.com @ 2002-03-05 18:39 UTC (permalink / raw)
  To: pgsql-general@postgresql.org; +Cc: pgsql-admin

is it a known issue that \df in psql does not list functions that return
opaque (i.e., those used in triggers)?

also, does \dd only list builtins?  if so, is there a convenient way to
view triggers in psql?

-tfo

p.s. i've looked through the docs, to no avail, and would've checked
the archives, but search seems to be broken, at the moment.



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: psql \df and opaque functions
  2002-03-05 18:39 psql \df and opaque functions tfo@monsterlabs.com
@ 2002-03-06 00:18 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2002-03-06 00:18 UTC (permalink / raw)
  To: tfo@monsterlabs.com; +Cc: pgsql-general@postgresql.org; 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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2002-03-06 00:18 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-03-05 18:39 psql \df and opaque functions tfo@monsterlabs.com
2002-03-06 00:18 ` Tom Lane <tgl@sss.pgh.pa.us>

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