1. 28 Feb, 2006 11 commits
  2. 27 Feb, 2006 3 commits
  3. 26 Feb, 2006 7 commits
  4. 25 Feb, 2006 4 commits
  5. 24 Feb, 2006 5 commits
  6. 23 Feb, 2006 1 commit
  7. 21 Feb, 2006 3 commits
    • Neil Conway's avatar
      Cleanup the usage of ScanDirection: use the symbolic names for the · 737651f6
      Neil Conway authored
      possible ScanDirection alternatives rather than magic numbers
      (-1, 0, 1).  Also, use the ScanDirection macros in a few places
      rather than directly checking whether `dir == ForwardScanDirection'
      and the like. Per patch from James William Pye. His patch also
      changed ScanDirection to be a "char" rather than an enum, which
      I haven't applied.
      737651f6
    • Tom Lane's avatar
      Fix old pg_dump oversight: default values for domains really need to be dumped · 3666260f
      Tom Lane authored
      by decompiling the typdefaultbin expression, not just printing the typdefault
      text which may be out-of-date or assume the wrong schema search path.  (It's
      the same hazard as for adbin vs adsrc in column defaults.)  The catalogs.sgml
      spec for pg_type implies that the correct procedure is to look to
      typdefaultbin first and consider typdefault only if typdefaultbin is NULL.
      I made dumping of both domains and base types do that, even though in the
      current backend code typdefaultbin is always correct for domains and
      typdefault for base types --- might as well try to future-proof it a little.
      Per bug report from Alexander Galler.
      3666260f
    • Tom Lane's avatar
      Adjust probe for getaddrinfo to cope with macro-ized definitions, such · af49a163
      Tom Lane authored
      as Tru64's.  Per previous discussion.
      af49a163
  8. 20 Feb, 2006 2 commits
  9. 19 Feb, 2006 4 commits
    • Tom Lane's avatar
      Update obsolete comment. · 21e2544a
      Tom Lane authored
      21e2544a
    • Tom Lane's avatar
      Modify logtape.c so that the initial LogicalTapeSetCreate call only · b34aa337
      Tom Lane authored
      allocates the control data.  The per-tape buffers are allocated only
      on first use.  This saves memory in situations where tuplesort.c
      overestimates the number of tapes needed (ie, there are fewer runs
      than tapes).  Also, this makes legitimate the coding in inittapes()
      that includes tape buffer space in the maximum-memory calculation:
      when inittapes runs, we've already expended the whole allowed memory
      on tuple storage, and so we'd better not allocate all the tape buffers
      until we've flushed some tuples out of memory.
      b34aa337
    • Tom Lane's avatar
      Improve tuplesort.c to support variable merge order. The original coding · df700e6b
      Tom Lane authored
      with fixed merge order (fixed number of "tapes") was based on obsolete
      assumptions, namely that tape drives are expensive.  Since our "tapes"
      are really just a couple of buffers, we can have a lot of them given
      adequate workspace.  This allows reduction of the number of merge passes
      with consequent savings of I/O during large sorts.
      
      Simon Riggs with some rework by Tom Lane
      df700e6b
    • Neil Conway's avatar
      Add TABLESPACE and ON COMMIT clauses to CREATE TABLE AS. ON COMMIT is · 85c0eac1
      Neil Conway authored
      required by the SQL standard, and TABLESPACE is useful functionality.
      Patch from Kris Jurka, minor editorialization by Neil Conway.
      85c0eac1