1. 16 1月, 2005 1 次提交
  2. 15 1月, 2005 2 次提交
  3. 07 1月, 2005 1 次提交
  4. 06 1月, 2005 1 次提交
  5. 14 12月, 2004 1 次提交
  6. 02 12月, 2004 1 次提交
    • T
      Change planner to use the current true disk file size as its estimate of · 5374d097
      Tom Lane 提交于
      a relation's number of blocks, rather than the possibly-obsolete value
      in pg_class.relpages.  Scale the value in pg_class.reltuples correspondingly
      to arrive at a hopefully more accurate number of rows.  When pg_class
      contains 0/0, estimate a tuple width from the column datatypes and divide
      that into current file size to estimate number of rows.  This improved
      methodology allows us to jettison the ancient hacks that put bogus default
      values into pg_class when a table is first created.  Also, per a suggestion
      from Simon, make VACUUM (but not VACUUM FULL or ANALYZE) adjust the value
      it puts into pg_class.reltuples to try to represent the mean tuple density
      instead of the minimal density that actually prevails just after VACUUM.
      These changes alter the plans selected for certain regression tests, so
      update the expected files accordingly.  (I removed join_1.out because
      it's not clear if it still applies; we can add back any variant versions
      as they are shown to be needed.)
      5374d097
  7. 28 11月, 2004 2 次提交
  8. 22 11月, 2004 3 次提交
  9. 21 11月, 2004 1 次提交
  10. 11 11月, 2004 2 次提交
  11. 10 11月, 2004 2 次提交
  12. 06 11月, 2004 1 次提交
    • T
      Create 'default_tablespace' GUC variable that supplies a TABLESPACE · 98e8b480
      Tom Lane 提交于
      clause implicitly whenever one is not given explicitly.  Remove concept
      of a schema having an associated tablespace, and simplify the rules for
      selecting a default tablespace for a table or index.  It's now just
      (a) explicit TABLESPACE clause; (b) default_tablespace if that's not an
      empty string; (c) database's default.  This will allow pg_dump to use
      SET commands instead of tablespace clauses to determine object locations
      (but I didn't actually make it do so).  All per recent discussions.
      98e8b480
  13. 25 10月, 2004 1 次提交
  14. 22 10月, 2004 1 次提交
  15. 08 10月, 2004 1 次提交
  16. 05 10月, 2004 1 次提交
  17. 04 10月, 2004 1 次提交
    • T
      Detect overflow in integer arithmetic operators (integer, smallint, and · 4171bb86
      Tom Lane 提交于
      bigint variants).  Clean up some inconsistencies in error message wording.
      Fix scanint8 to allow trailing whitespace in INT64_MIN case.  Update
      int8-exp-three-digits.out, which seems to have been ignored by the last
      couple of people to modify the int8 regression test, and remove
      int8-exp-three-digits-win32.out which is thereby exposed as redundant.
      4171bb86
  18. 01 10月, 2004 1 次提交
  19. 24 9月, 2004 1 次提交
  20. 14 9月, 2004 1 次提交
    • T
      Redesign query-snapshot timing so that volatile functions in READ COMMITTED · b2c40712
      Tom Lane 提交于
      mode see a fresh snapshot for each command in the function, rather than
      using the latest interactive command's snapshot.  Also, suppress fresh
      snapshots as well as CommandCounterIncrement inside STABLE and IMMUTABLE
      functions, instead using the snapshot taken for the most closely nested
      regular query.  (This behavior is only sane for read-only functions, so
      the patch also enforces that such functions contain only SELECT commands.)
      As per my proposal of 6-Sep-2004; I note that I floated essentially the
      same proposal on 19-Jun-2002, but that discussion tailed off without any
      action.  Since 8.0 seems like the right place to be taking possibly
      nontrivial backwards compatibility hits, let's get it done now.
      b2c40712
  21. 11 9月, 2004 1 次提交
    • T
      Fire non-deferred AFTER triggers immediately upon query completion, · b339d1ff
      Tom Lane 提交于
      rather than when returning to the idle loop.  This makes no particular
      difference for interactively-issued queries, but it makes a big difference
      for queries issued within functions: trigger execution now occurs before
      the calling function is allowed to proceed.  This responds to numerous
      complaints about nonintuitive behavior of foreign key checking, such as
      http://archives.postgresql.org/pgsql-bugs/2004-09/msg00020.php, and
      appears to be required by the SQL99 spec.
      Also take the opportunity to simplify the data structures used for the
      pending-trigger list, rename them for more clarity, and squeeze out a
      bit of space.
      b339d1ff
  22. 30 8月, 2004 2 次提交
  23. 27 8月, 2004 2 次提交
  24. 26 8月, 2004 2 次提交
  25. 24 8月, 2004 1 次提交
  26. 21 8月, 2004 1 次提交
  27. 18 8月, 2004 2 次提交
  28. 15 8月, 2004 2 次提交
  29. 14 8月, 2004 1 次提交