1. 30 11月, 2009 7 次提交
  2. 29 11月, 2009 3 次提交
  3. 28 11月, 2009 4 次提交
  4. 27 11月, 2009 3 次提交
  5. 26 11月, 2009 5 次提交
  6. 25 11月, 2009 2 次提交
  7. 24 11月, 2009 2 次提交
  8. 23 11月, 2009 5 次提交
  9. 22 11月, 2009 4 次提交
  10. 21 11月, 2009 2 次提交
    • T
      Refactor ecpg grammar so that it uses the core grammar's unreserved_keyword · e6c63bf6
      Tom Lane 提交于
      list, minus a few specific words that have to be treated specially.  This
      replaces a hard-wired list of keywords that would have needed manual
      maintenance, and was not getting it.  The 8.4 coding was already missing
      these words, causing ecpg to incorrectly treat them as reserved words:
      CALLED, CATALOG, DEFINER, ENUM, FOLLOWING, INVOKER, OPTIONS, PARTITION,
      PRECEDING, RANGE, SECURITY, SERVER, UNBOUNDED, WRAPPER.  In HEAD we were
      additionally missing COMMENTS, FUNCTIONS, SEQUENCES, TABLES.
      Per gripe from Bosco Rama.
      e6c63bf6
    • T
      Add a WHEN clause to CREATE TRIGGER, allowing a boolean expression to be · 7fc0f062
      Tom Lane 提交于
      checked to determine whether the trigger should be fired.
      
      For BEFORE triggers this is mostly a matter of spec compliance; but for AFTER
      triggers it can provide a noticeable performance improvement, since queuing of
      a deferred trigger event and re-fetching of the row(s) at end of statement can
      be short-circuited if the trigger does not need to be fired.
      
      Takahiro Itagaki, reviewed by KaiGai Kohei.
      7fc0f062
  11. 20 11月, 2009 1 次提交
  12. 19 11月, 2009 2 次提交
    • T
      Fix memory leak in syslogger: logfile_rotate() would leak a copy of the · b1d55dca
      Tom Lane 提交于
      output filename if CSV logging was enabled and only one of the two possible
      output files got rotated during a particular call (which would, in fact,
      typically be the case during a size-based rotation).  This would amount to
      about MAXPGPATH (1KB) per rotation, and it's been there since the CSV
      code was put in, so it's surprising that nobody noticed it before.
      Per bug #5196 from Thomas Poindessous.
      b1d55dca
    • T
      Add a hook to CREATE/ALTER ROLE to allow an external module to check the · c742b795
      Tom Lane 提交于
      strength of database passwords, and create a sample implementation of
      such a hook as a new contrib module "passwordcheck".
      
      Laurenz Albe, reviewed by Takahiro Itagaki
      c742b795