diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2001-06-01 02:41:36 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2001-06-01 02:41:36 +0000 |
commit | 0b370ea7c81228339da5a447057dbf5f874e0197 (patch) | |
tree | 125c8590975f212a7caec6667f95f28d772bb928 /doc/src | |
parent | a1d9d096f0f36afcdd4ca69afb41cd645b9834d2 (diff) |
Clean up some minor problems exposed by further thought about Panon's bug
report on old-style functions invoked by RI triggers. We had a number of
other places that were being sloppy about which memory context FmgrInfo
subsidiary data will be allocated in. Turns out none of them actually
cause a problem in 7.1, but this is for arcane reasons such as the fact
that old-style triggers aren't supported anyway. To avoid getting burnt
later, I've restructured the trigger support so that we don't keep trigger
FmgrInfo structs in relcache memory. Some other related cleanups too:
it's not really necessary to call fmgr_info at all while setting up
the index support info in relcache entries, because those ScanKeyEntry
structs are never used to invoke the functions. This should speed up
relcache initialization a tiny bit.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/trigger.sgml | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/doc/src/sgml/trigger.sgml b/doc/src/sgml/trigger.sgml index 686c9580edf..bb88ccc4ded 100644 --- a/doc/src/sgml/trigger.sgml +++ b/doc/src/sgml/trigger.sgml @@ -366,7 +366,6 @@ typedef struct Trigger Oid tgoid; char *tgname; Oid tgfoid; - FmgrInfo tgfunc; int16 tgtype; bool tgenabled; bool tgisconstraint; |