diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-04-01 22:36:13 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-04-01 22:36:13 +0000 |
commit | 789ddcb5fe0584fd7524db97909ff43cb2ac37f6 (patch) | |
tree | d94e23b6e5606aee2bbe5d5006e6107863daa160 /doc/src | |
parent | 6a25cd6b26cc5012828119f9c01c93b9d4d46ad7 (diff) | |
download | postgresql-789ddcb5fe0584fd7524db97909ff43cb2ac37f6.tar.gz postgresql-789ddcb5fe0584fd7524db97909ff43cb2ac37f6.zip |
Add tgconstrrelid to stored Trigger structures, make RI trigger functions
depend on this rather than the trigger argument strings to locate the
other relation to test. This makes RI triggers function properly in
the presence of schemas and temp tables. Along the way, fix bogus lack
of locking in RI triggers, handle quoting of names fully correctly,
compute required sizes of query buffers with some semblance of accuracy.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/trigger.sgml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/src/sgml/trigger.sgml b/doc/src/sgml/trigger.sgml index 34ab2840eec..8dd9815e0c6 100644 --- a/doc/src/sgml/trigger.sgml +++ b/doc/src/sgml/trigger.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/trigger.sgml,v 1.21 2002/03/22 19:20:32 petere Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/trigger.sgml,v 1.22 2002/04/01 22:36:06 tgl Exp $ --> <chapter id="triggers"> @@ -374,6 +374,7 @@ typedef struct Trigger int16 tgtype; bool tgenabled; bool tgisconstraint; + Oid tgconstrrelid; bool tgdeferrable; bool tginitdeferred; int16 tgnargs; |