1. 05 Nov, 2007 10 commits
  2. 04 Nov, 2007 10 commits
  3. 02 Nov, 2007 1 commit
    • Tom Lane's avatar
      Ensure that EquivalenceClasses generated from ORDER BY keys contain proper · 97ddfc96
      Tom Lane authored
      RelabelType nodes when the sort key is binary-compatible with the sort
      operator rather than having exactly its input type.  We did this correctly
      for index columns but not sort keys, leading to failure to notice that
      a varchar index matches an ORDER BY request.  This requires a bit more work
      in make_sort_from_pathkeys, but not anyplace else that I can find.
      Per bug report and subsequent discussion.
      97ddfc96
  4. 01 Nov, 2007 7 commits
  5. 31 Oct, 2007 2 commits
  6. 30 Oct, 2007 5 commits
  7. 29 Oct, 2007 5 commits
    • Alvaro Herrera's avatar
      In the previous commit message, I forgot to credit Simon Riggs who provided · 92be6991
      Alvaro Herrera authored
      the patch, which I modified only slightly before applying.
      92be6991
    • Tom Lane's avatar
      Mention the index name in 'could not create unique index' errors, · 2aae35d0
      Tom Lane authored
      per suggestion from Rene Gollent.
      2aae35d0
    • Tom Lane's avatar
      Remove the hack in the grammar that "optimized away" DEFAULT NULL clauses. · b17b7fae
      Tom Lane authored
      Instead put in a test to drop a NULL default at the last moment before
      storing the catalog entry.  This changes the behavior in a couple of ways:
      * Specifying DEFAULT NULL when creating an inheritance child table will
        successfully suppress inheritance of any default expression from the
        parent's column, where formerly it failed to do so.
      * Specifying DEFAULT NULL for a column of a domain type will correctly
        override any default belonging to the domain; likewise for a sub-domain.
      The latter change happens because by the time the clause is checked,
      it won't be a simple null Const but a CoerceToDomain expression.
      
      Personally I think this should be back-patched, but there doesn't seem to
      be consensus for that on pgsql-hackers, so refraining.
      b17b7fae
    • Teodor Sigaev's avatar
      - Add check of already changed page while replay WAL. This touches only · bf5ccf38
      Teodor Sigaev authored
      ginRedoInsert(), because other ginRedo* functions rewrite whole page or
      make changes which could be applied several times without consistent's loss
      
      - Remove check of identifying of corresponding split record:
      it's possible that replaying of WAL starts after actual page split, but before
      removing of that split from incomplete splits list. In this case, that check
      cause FATAL error.
      
      Per stress test which reproduces bug reported by Craig McElroy
      <craig.mcelroy@contegix.com>
      bf5ccf38
    • Bruce Momjian's avatar
      Documentation wording fixes. · f7967d4c
      Bruce Momjian authored
      Guillaume Lelarge
      f7967d4c