diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-08-23 22:40:47 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-08-23 22:40:47 +0000 |
| commit | 188c7c8ccf7c107c228ec85b2996388ac490eb49 (patch) | |
| tree | 77479de1caaef76717004eff62714c23f5a8fe24 /src/bin/pg_dump/pg_dump.h | |
| parent | d086da4bb1fcf8cd0352b5b93d109cb73a783283 (diff) | |
| download | postgresql-188c7c8ccf7c107c228ec85b2996388ac490eb49.tar.gz | |
Add ALTER TABLE ENABLE/DISABLE TRIGGER commands. Change pg_dump to
use these instead of its previous hack of changing pg_class.reltriggers.
Documentation is lacking, will add that later.
Patch by Satoshi Nagayasu, review and some extra work by Tom Lane.
Diffstat (limited to 'src/bin/pg_dump/pg_dump.h')
| -rw-r--r-- | src/bin/pg_dump/pg_dump.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/pg_dump/pg_dump.h b/src/bin/pg_dump/pg_dump.h index 4f4bb0c198..9d17a93fc5 100644 --- a/src/bin/pg_dump/pg_dump.h +++ b/src/bin/pg_dump/pg_dump.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.h,v 1.119 2005/08/15 21:50:15 tgl Exp $ + * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.h,v 1.120 2005/08/23 22:40:35 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -270,6 +270,7 @@ typedef struct _triggerInfo char *tgconstrname; Oid tgconstrrelid; char *tgconstrrelname; + bool tgenabled; bool tgdeferrable; bool tginitdeferred; } TriggerInfo; |
