1. 01 Jun, 2001 1 commit
    • Tom Lane's avatar
      Clean up some minor problems exposed by further thought about Panon's bug · 0b370ea7
      Tom Lane authored
      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.
      0b370ea7
  2. 22 Mar, 2001 1 commit
  3. 14 Mar, 2001 1 commit
  4. 24 Jan, 2001 1 commit
  5. 22 Jan, 2001 1 commit
  6. 18 Dec, 2000 1 commit
  7. 08 Jun, 2000 1 commit
  8. 29 May, 2000 1 commit
  9. 12 Apr, 2000 1 commit
  10. 31 Jan, 2000 1 commit
    • Tom Lane's avatar
      Fix problems seen in parallel regress tests when SI buffer overruns (causing · a152ebee
      Tom Lane authored
      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.
      a152ebee
  11. 06 Jan, 2000 1 commit
  12. 29 Sep, 1999 1 commit
    • Jan Wieck's avatar
      This is part #1 for of the DEFERRED CONSTRAINT TRIGGER support. · 1547ee01
      Jan Wieck authored
      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
      1547ee01
  13. 16 Jul, 1999 1 commit
  14. 15 Jul, 1999 1 commit
  15. 09 Mar, 1999 1 commit
    • Marc G. Fournier's avatar
      · f34240de
      Marc G. Fournier authored
      Changes to fix/improve the dynamic loading on NT
      
      From: Horak Daniel <horak@mmp.plzen-city.cz>
      f34240de
  16. 13 Feb, 1999 1 commit
  17. 15 Dec, 1998 1 commit
  18. 01 Sep, 1998 1 commit
  19. 26 Feb, 1998 1 commit
  20. 26 Nov, 1997 1 commit
  21. 11 Sep, 1997 1 commit
  22. 08 Sep, 1997 2 commits
  23. 07 Sep, 1997 1 commit
  24. 04 Sep, 1997 1 commit
  25. 01 Sep, 1997 1 commit
  26. 31 Aug, 1997 1 commit