Re: Listing Triggers on a table.
| От | Dan Wilson |
|---|---|
| Тема | Re: Listing Triggers on a table. |
| Дата | |
| Msg-id | 00a701c05845$4ba47270$078353d8@danwilson обсуждение исходный текст |
| Ответ на | Listing Triggers on a table. (Paul <paul@operamail.com>) |
| Список | pgsql-general |
From the newly added phpPgAdmin source code: SELECT tgname AS trigger_name, pt.typname as result, pc.relname as table_name FROM pg_trigger ptr, pg_type pt, pg_class pc WHERE ptr.tgtype = pt.oid AND ptr.tgrelid = pc.oid AND tgname !~ 'pg_.*' AND pc.relname = '[insert table name]' ORDER BY tgname Get the latest phpPgAdmin at http://www.greatbridge.org/project/phppgadmin -Dan Wilson ----- Original Message ----- From: "Paul" <paul@operamail.com> To: <pgsql-general@postgresql.org> Sent: Sunday, November 26, 2000 8:21 PM Subject: [GENERAL] Listing Triggers on a table. > How do I go about finding out the names of triggers attached to a table? > Currently I'm doing : > pg_dump <dbname> | grep TRIGGER | grep <tablename> > from the shell command line. Is there a quicker way of doing it in psql? > > Paul
В списке pgsql-general по дате отправления: