1. 21 1月, 2010 8 次提交
  2. 20 1月, 2010 12 次提交
  3. 19 1月, 2010 5 次提交
  4. 18 1月, 2010 4 次提交
    • T
      Fix incorrect comparison of scan key in GIN. Per report from · a0a7e634
      Teodor Sigaev 提交于
      Vyacheslav Kalinin <vka@mgcp.com>
      a0a7e634
    • T
      Fix portalmem.c to avoid keeping a dangling pointer to a cached plan list · 376c6203
      Tom Lane 提交于
      after it's released its reference count for the cached plan.  There are
      code paths that might try to examine the plan list before noticing that
      the portal is already in aborted state.  Report and diagnosis by Tatsuo
      Ishii, though this isn't exactly his proposed patch.
      376c6203
    • T
      Update SET CONSTRAINTS reference page --- it failed to mention EXCLUDE · 04ef4040
      Tom Lane 提交于
      constraints and was lacking a couple of other interesting details.
      04ef4040
    • T
      Improve the handling of SET CONSTRAINTS commands by having them search · 9a915e59
      Tom Lane 提交于
      pg_constraint before searching pg_trigger.  This allows saner handling of
      corner cases; in particular we now say "constraint is not deferrable"
      rather than "constraint does not exist" when the command is applied to
      a constraint that's inherently non-deferrable.  Per a gripe several months
      ago from hubert depesz lubaczewski.
      
      To make this work without breaking user-defined constraint triggers,
      we have to add entries for them to pg_constraint.  However, in return
      we can remove the pgconstrname column from pg_constraint, which represents
      a fairly sizable space savings.  I also replaced the tgisconstraint column
      with tgisinternal; the old meaning of tgisconstraint can now be had by
      testing for nonzero tgconstraint, while there is no other way to get
      the old meaning of nonzero tgconstraint, namely that the trigger was
      internally generated rather than being user-created.
      
      In passing, fix an old misstatement in the docs and comments, namely that
      pg_trigger.tgdeferrable is exactly redundant with pg_constraint.condeferrable.
      Actually, we mark RI action triggers as nondeferrable even when they belong to
      a nominally deferrable FK constraint.  The SET CONSTRAINTS code now relies on
      that instead of hard-coding a list of exception OIDs.
      9a915e59
  5. 17 1月, 2010 7 次提交
  6. 16 1月, 2010 4 次提交