1. 05 11月, 2007 3 次提交
  2. 04 11月, 2007 1 次提交
    • T
      Teach CREATE CONSTRAINT TRIGGER to convert old-style foreign key · a2899ebd
      Tom Lane 提交于
      trigger definitions into regular foreign key constraints.  This seems
      necessary given that some people evidently never did get around to
      running adddepend on their schemas, and without some sort of hack the
      old definitions will no longer work.  Per report from Olivier Prenant
      and subsequent investigation.
      a2899ebd
  3. 03 11月, 2007 1 次提交
    • T
      Ensure that EquivalenceClasses generated from ORDER BY keys contain proper · 97ddfc96
      Tom Lane 提交于
      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. 02 11月, 2007 7 次提交
  5. 01 11月, 2007 1 次提交
    • B
      Add: · f0cd76fc
      Bruce Momjian 提交于
      > * Prevent long-lived temporary tables from causing frozen-Xid advancement
      >    starvation
      f0cd76fc
  6. 31 10月, 2007 5 次提交
  7. 30 10月, 2007 8 次提交
    • M
      · b9735307
      Marc G. Fournier 提交于
      simple script to pull together a very small (<500k) tar file that builds
      *just* libpq ... its not perfect, as it pulls in more files then is
      necessarily required to build, but as it is, it requires one simple patch
      to configure.in in order to work ...
      
      Tested on FreeBSD ... patch for configure.in hasn't been applied, but
      putting the script in place so that it doesn't get lost ...
      b9735307
    • A
      In the previous commit message, I forgot to credit Simon Riggs who provided · 92be6991
      Alvaro Herrera 提交于
      the patch, which I modified only slightly before applying.
      92be6991
    • T
      Mention the index name in 'could not create unique index' errors, · 2aae35d0
      Tom Lane 提交于
      per suggestion from Rene Gollent.
      2aae35d0
    • T
      Remove the hack in the grammar that "optimized away" DEFAULT NULL clauses. · b17b7fae
      Tom Lane 提交于
      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
    • T
      - Add check of already changed page while replay WAL. This touches only · bf5ccf38
      Teodor Sigaev 提交于
      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
    • B
      Documentation wording fixes. · f7967d4c
      Bruce Momjian 提交于
      Guillaume Lelarge
      f7967d4c
    • B
      Update Russian FAQ. · e1f55afe
      Bruce Momjian 提交于
      corochoone@gmail.com
      e1f55afe
    • B
      Clarify restart is of the "database" server, in FAQ. · 96805a18
      Bruce Momjian 提交于
      96805a18
  8. 29 10月, 2007 9 次提交
  9. 28 10月, 2007 3 次提交
  10. 27 10月, 2007 2 次提交
    • T
      Avoid considering both sort directions as equally useful for merging. · 834ddc62
      Tom Lane 提交于
      This doubles the planning workload for mergejoins while not actually
      accomplishing much.  The only useful case is where one of the directions
      matches the query's ORDER BY request; therefore, put a thumb on the scales
      in that direction, and otherwise arbitrarily consider only the ASC direction.
      (This is a lot easier now than it would've been before 8.3, since we have
      more semantic knowledge embedded in PathKeys now.)
      834ddc62
    • T
      Stamp 8.3beta2. · 5b5a70ae
      Tom Lane 提交于
      5b5a70ae