diff options
author | Jan Wieck <JanWieck@Yahoo.com> | 1999-09-29 16:06:40 +0000 |
---|---|---|
committer | Jan Wieck <JanWieck@Yahoo.com> | 1999-09-29 16:06:40 +0000 |
commit | 1547ee017c897725221d0752af4477121524c05b (patch) | |
tree | 775616278865cba3e01e521812d045489e40fd9b /src/include/utils/rel.h | |
parent | d810338d29bff178101e72c810c9dcfa3223c6c0 (diff) |
This is part #1 for of the DEFERRED CONSTRAINT TRIGGER support.
Implements the CREATE CONSTRAINT TRIGGER and SET CONSTRAINTS commands.
TODO:
Generic builtin trigger procedures
Automatic execution of appropriate CREATE CONSTRAINT... at CREATE TABLE
Support of new trigger type in pg_dump
Swapping of huge # of events to disk
Jan
Diffstat (limited to 'src/include/utils/rel.h')
-rw-r--r-- | src/include/utils/rel.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/utils/rel.h b/src/include/utils/rel.h index f2789b39e09..308f9a6d645 100644 --- a/src/include/utils/rel.h +++ b/src/include/utils/rel.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: rel.h,v 1.26 1999/09/18 19:08:25 tgl Exp $ + * $Id: rel.h,v 1.27 1999/09/29 16:06:28 wieck Exp $ * *------------------------------------------------------------------------- */ @@ -42,10 +42,15 @@ typedef LockInfoData *LockInfo; typedef struct Trigger { + Oid tgoid; char *tgname; Oid tgfoid; FmgrInfo tgfunc; int16 tgtype; + bool tgenabled; + bool tgisconstraint; + bool tgdeferrable; + bool tginitdeferred; int16 tgnargs; int16 tgattr[8]; char **tgargs; |