Listing UDFs and triggers.

From: Jonathan Kop <jonathan(dot)kop(at)usko(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Listing UDFs and triggers.
Date: 1999-10-18 10:35:05
Message-ID: 380AF7D9.DF5C984E@usko.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I was wondering if there is anyway of listing user-defined functions and
triggers associated with a particular database? I've tried '\df', but
it doesn't list a C language dynamically loaded function that I
created. The function itself and the trigger that calls it work
correctly, but I can imagine forgetting the names of the function and
trigger one day when I need to drop them.

If I go into $PGDATA/base/databasename I can do a 'strings pg_trigger'
to see the names of triggers that I have created, however I would like
to be able to see ACTIVE triggers from within the relation itself and on
which actions they will fire. Another oddity with pg_trigger (and
pg_proc in the case of functions) is that it contains the names of both
currently active triggers as well as older triggers that have already
been dropped, anyone know why?

Thanks for your help.

Regards,
Jonathan Kop (jon(dot)kop(at)usko(dot)com)

Browse pgsql-general by date

  From Date Subject
Next Message Guan Yang 1999-10-18 10:43:50 Installation simplicity
Previous Message Jonathan Kop 1999-10-18 10:12:15 Listing UDF and triggers?