1. 29 Nov, 2002 1 commit
  2. 03 Oct, 2002 1 commit
  3. 04 Sep, 2002 1 commit
  4. 02 Sep, 2002 1 commit
    • Bruce Momjian's avatar
      I checked all the previous string handling errors and most of them were · a12b4e27
      Bruce Momjian authored
      already fixed by You. However there were a few left and attached patch
      should fix the rest of them.
      
      I used StringInfo only in 2 places and both of them are inside debug
      ifdefs. Only performance penalty will come from using strlen() like all
      the other code does.
      
      I also modified some of the already patched parts by changing
      snprintf(buf, 2 * BUFSIZE, ... style lines to
      snprintf(buf, sizeof(buf), ... where buf is an array.
      
      Jukka Holappa
      a12b4e27
  5. 30 Jul, 2002 1 commit
    • Bruce Momjian's avatar
      This should fix a bug where a row that was updated or · 578e71fe
      Bruce Momjian authored
      deleted that had another row inserted/updated to its old
      value during the same statement or other statements before the
      integrity check for noaction would incorrectly error.  This
      could happen in deferred constraints or due to triggers or
      functions. It's effectively a reworking of the previous patch that
      did a not exists to instead do a separate check.
      
      Stephan Szabo
      578e71fe
  6. 21 Jun, 2002 1 commit
  7. 20 Jun, 2002 1 commit
  8. 16 Apr, 2002 1 commit
    • Tom Lane's avatar
      Operators live in namespaces. CREATE/DROP/COMMENT ON OPERATOR take · 6cef5d25
      Tom Lane authored
      qualified operator names directly, for example CREATE OPERATOR myschema.+
      ( ... ).  To qualify an operator name in an expression you need to write
      OPERATOR(myschema.+) (thanks to Peter for suggesting an escape hatch).
      I also took advantage of having to reformat pg_operator to fix something
      that'd been bugging me for a while: mergejoinable operators should have
      explicit links to the associated cross-data-type comparison operators,
      rather than hardwiring an assumption that they are named < and >.
      6cef5d25
  9. 02 Apr, 2002 1 commit
  10. 01 Apr, 2002 2 commits
    • Tom Lane's avatar
      Add tgconstrrelid to stored Trigger structures, make RI trigger functions · 789ddcb5
      Tom Lane authored
      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.
      789ddcb5
    • Tom Lane's avatar
      Temporary kluge to let RI triggers work on tables outside the system · 87b08080
      Tom Lane authored
      catalog namespace.  This will not do as a production solution because
      the interpretation of RI trigger arguments will vary depending on the
      current namespace search path.  I'm just putting it in so that the RI
      regression tests don't fail while schema development proceeds.  We
      must find a better answer before 7.3 can be released.
      87b08080
  11. 19 Mar, 2002 1 commit
    • Bruce Momjian's avatar
      Fix for trigger handling: · d8e70cd8
      Bruce Momjian authored
               * We should not even consider checking the row if it is no longer
               * valid since it was either deleted (doesn't matter) or updated
               * (in which case it'll be checked with its final values).
      
      Stephan Szabo
      d8e70cd8
  12. 06 Mar, 2002 1 commit
    • Bruce Momjian's avatar
      Change made to elog: · 92288a1c
      Bruce Momjian authored
      o  Change all current CVS messages of NOTICE to WARNING.  We were going
      to do this just before 7.3 beta but it has to be done now, as you will
      see below.
      
      o Change current INFO messages that should be controlled by
      client_min_messages to NOTICE.
      
      o Force remaining INFO messages, like from EXPLAIN, VACUUM VERBOSE, etc.
      to always go to the client.
      
      o Remove INFO from the client_min_messages options and add NOTICE.
      
      Seems we do need three non-ERROR elog levels to handle the various
      behaviors we need for these messages.
      
      Regression passed.
      92288a1c
  13. 12 Nov, 2001 2 commits
  14. 25 Oct, 2001 1 commit
  15. 06 Oct, 2001 1 commit
    • Tom Lane's avatar
      Rearrange fmgr.c and relcache so that it's possible to keep FmgrInfo · 85801a4d
      Tom Lane authored
      lookup info in the relcache for index access method support functions.
      This makes a huge difference for dynamically loaded support functions,
      and should save a few cycles even for built-in ones.  Also tweak dfmgr.c
      so that load_external_function is called only once, not twice, when
      doing fmgr_info for a dynamically loaded function.  All per performance
      gripe from Teodor Sigaev, 5-Oct-01.
      85801a4d
  16. 05 Oct, 2001 1 commit
    • Tom Lane's avatar
      Further cleanup of dynahash.c API, in pursuit of portability and · 8a52b893
      Tom Lane authored
      readability.  Bizarre '(long *) TRUE' return convention is gone,
      in favor of just raising an error internally in dynahash.c when
      we detect hashtable corruption.  HashTableWalk is gone, in favor
      of using hash_seq_search directly, since it had no hope of working
      with non-LONGALIGNable datatypes.  Simplify some other code that was
      made undesirably grotty by promixity to HashTableWalk.
      8a52b893
  17. 01 Oct, 2001 1 commit
    • Tom Lane's avatar
      Another round of cleanups for dynahash.c (maybe it's finally clean of · 5999e78f
      Tom Lane authored
      portability issues).  Caller-visible data structures are now allocated
      on MAXALIGN boundaries, allowing safe use of datatypes wider than 'long'.
      Rejigger hash_create API so that caller specifies size of key and
      total size of entry, not size of key and size of rest of entry.
      This simplifies life considerably since each number is just a sizeof(),
      and padding issues etc. are taken care of automatically.
      5999e78f
  18. 31 May, 2001 1 commit
  19. 07 May, 2001 1 commit
  20. 22 Mar, 2001 2 commits
  21. 15 Feb, 2001 1 commit
  22. 22 Dec, 2000 1 commit
  23. 21 Nov, 2000 1 commit
  24. 16 Nov, 2000 1 commit
  25. 25 Sep, 2000 1 commit
  26. 30 May, 2000 1 commit
  27. 29 May, 2000 1 commit
  28. 12 Apr, 2000 1 commit
  29. 07 Feb, 2000 1 commit
  30. 06 Jan, 2000 2 commits
  31. 10 Dec, 1999 1 commit
  32. 08 Dec, 1999 1 commit
  33. 07 Dec, 1999 2 commits
  34. 06 Dec, 1999 2 commits