summaryrefslogtreecommitdiff
path: root/src/include/commands/trigger.h
Commit message (Collapse)AuthorAgeFilesLines
* Mark functions as static and ifdef NOT_USED as appropriate.Bruce Momjian2000-06-081-4/+1
|
* Second round of fmgr changes: triggers are now invoked in new style,Tom Lane2000-05-291-4/+13
| | | | CurrentTriggerData is history.
* Ye-old pgindent run. Same 4-space tabs.Bruce Momjian2000-04-121-16/+19
|
* Fix problems seen in parallel regress tests when SI buffer overruns (causingTom Lane2000-01-311-0/+10
| | | | | | | | | | | | | | | | | | | | | | | syscache and relcache flushes). Relcache entry rebuild now preserves original tupledesc, rewrite rules, and triggers if possible, so that pointers to these things remain valid --- if these things change while relcache entry has positive refcount, we elog(ERROR) to avoid later crash. Arrange for xact-local rels to be rebuilt when an SI inval message is seen for them, so that they are updated by CommandCounterIncrement the same as regular rels. (This is useful because of Hiroshi's recent changes to process our own SI messages at CommandCounterIncrement time.) This allows simplification of some routines that previously hacked around the lack of an automatic update. catcache now keeps its own copy of tupledesc for its relation, rather than depending on the relcache's copy; this avoids needing to reinitialize catcache during a cache flush, which saves some cycles and eliminates nasty circularity problems that occur if a cache flush happens while trying to initialize a catcache. Eliminate a number of permanent memory leaks that used to happen during catcache or relcache flush; not least of which was that catcache never freed any cached tuples! (Rule parsetree storage is still leaked, however; will fix that separately.) Nothing done yet about code that uses tuples retrieved by SearchSysCache for longer than is safe.
* Changed "triggered data change violation" detection codeJan Wieck2000-01-061-1/+9
| | | | | | in trigger manager. Jan
* This is part #1 for of the DEFERRED CONSTRAINT TRIGGER support.Jan Wieck1999-09-291-0/+49
| | | | | | | | | | | | 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
* More cleanupBruce Momjian1999-07-161-1/+1
|
* Clean up #include in /include directory. Add scripts for checking includes.Bruce Momjian1999-07-151-3/+0
|
* Changes to fix/improve the dynamic loading on NTMarc G. Fournier1999-03-091-1/+1
| | | | From: Horak Daniel <horak@mmp.plzen-city.cz>
* Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian1999-02-131-1/+1
|
* Initial MVCC code.Vadim B. Mikheev1998-12-151-4/+5
| | | | New code for locking buffer' context.
* OK, folks, here is the pgindent output.Bruce Momjian1998-09-011-1/+1
|
* pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian1998-02-261-3/+3
|
* Cleanup up include files.Bruce Momjian1997-11-261-0/+1
|
* Cleanups.Vadim B. Mikheev1997-09-111-3/+3
|
* Used modified version of indent that understands over 100 typedefs.Bruce Momjian1997-09-081-3/+3
|
* Another PGINDENT run that changes variable indenting and case label ↵Bruce Momjian1997-09-081-14/+14
| | | | indenting. Also static variable indenting.
* Massive commit to run PGINDENT on all *.c and *.h files.Bruce Momjian1997-09-071-39/+40
|
* Prototypes, definitions...Vadim B. Mikheev1997-09-041-19/+37
|
* Function prototypes.Vadim B. Mikheev1997-09-011-0/+38
|
* CREATE/DROP TRIGGER functionsVadim B. Mikheev1997-08-311-0/+15