1. 04 6月, 2007 8 次提交
    • T
      Fix bundle bugs of GIN: · 853d1c31
      Teodor Sigaev 提交于
      - Fix possible deadlock between UPDATE and VACUUM queries. Bug never was
        observed in 8.2, but it still exist there. HEAD is more sensitive to
        bug after recent "ring" of buffer improvements.
      - Fix WAL creation: if parent page is stored as is after split then
        incomplete split isn't removed during replay. This happens rather rare, only
        on large tables with a lot of updates/inserts.
      - Fix WAL replay: there was wrong test of XLR_BKP_BLOCK_* for left
        page after deletion of page. That causes wrong rightlink field: it pointed
        to deleted page.
      - add checking of match of clearing incomplete split
      - cleanup incomplete split list after proceeding
      
      All of this chages doesn't change on-disk storage, so backpatch...
      But second point may be an issue for replaying logs from previous version.
      853d1c31
    • M
      On win32, retry reading when WSARecv returns WSAEWOULDBLOCK. There seem · aae54032
      Magnus Hagander 提交于
      to be cases when at least Windows 2000 can do this even though select
      just indicated that the socket is readable.
      
      Per report and analysis from Cyril VELTER.
      aae54032
    • M
      On win32, don't use SO_REUSEADDR for TCP sockets. · 0e92f981
      Magnus Hagander 提交于
      Per failure on buildfarm member baiji and subsequent discussion.
      0e92f981
    • P
      Remove gratuitous response messages from utility programs. · 9539e64b
      Peter Eisentraut 提交于
      (Possibly release notes material, lest users be confused.)
      
      The --quiet option is now obsolete and without effect in createdb,
      createuser, dropdb, dropuser; kept for compatibility but marked for
      removal in 8.4.
      
      Progress messages when acting on all databases now go to stdout instead
      of stderr, since they are not in fact errors.
      
      Ordered options in reindexdb reference page alphabetically, like in
      other programs' pages.
      9539e64b
    • P
      Update expected files for textual changes · efbd5bcb
      Peter Eisentraut 提交于
      efbd5bcb
    • P
      f4a3789b
    • B
      Remove description for: · 55477d74
      Bruce Momjian 提交于
              o -Add a GUC variable to control the tablespace for temporary objects
                and sort files
      <
      < 	  It could start with a random tablespace from a supplied list and
      < 	  cycle through the list.
      <
      55477d74
    • T
      Create a GUC parameter temp_tablespaces that allows selection of the · acfce502
      Tom Lane 提交于
      tablespace(s) in which to store temp tables and temporary files.  This is a
      list to allow spreading the load across multiple tablespaces (a random list
      element is chosen each time a temp object is to be created).  Temp files are
      not stored in per-database pgsql_tmp/ directories anymore, but per-tablespace
      directories.
      
      Jaime Casanova and Albert Cervera, with review by Bernd Helmle and Tom Lane.
      acfce502
  2. 03 6月, 2007 2 次提交
  3. 02 6月, 2007 9 次提交
  4. 01 6月, 2007 6 次提交
    • T
      Fix several hash functions that were taking chintzy shortcuts instead of · 1f559b7d
      Tom Lane 提交于
      delivering a well-randomized hash value.  I got religion on this after
      observing that performance of multi-batch hash join degrades terribly if the
      higher-order bits of hash values aren't random, as indeed was true for say
      hashes of small integer values.  It's now expected and documented that hash
      functions should use hash_any or some comparable method to ensure that all
      bits of their output are about equally random.
      
      initdb forced because this change invalidates existing hash indexes.  For the
      same reason, this isn't back-patchable; the hash join performance problem
      will get a band-aid fix in the back branches.
      1f559b7d
    • B
      Wording improvement. · 397d00af
      Bruce Momjian 提交于
      397d00af
    • B
      Update FAQ_DEV URL to output for text format. · 4dc63193
      Bruce Momjian 提交于
      4dc63193
    • B
    • T
      The shortcut exit that I recently added to ExecInitIndexScan() for · cc3e9dee
      Tom Lane 提交于
      EXPLAIN-only operation was a little too short; it skipped initializing the
      node's result tuple type, which may be needed depending on what's above the
      indexscan node.  Call ExecAssignResultTypeFromTL before exiting.  (For good
      luck I moved up the ExecAssignScanProjectionInfo call as well, so that
      everything except indexscan-specific initialization will still be done.)
      Per example from Grant Finnemore.
      cc3e9dee
    • T
      Change build_index_pathkeys() so that the expressions it builds to represent · 10f719af
      Tom Lane 提交于
      index key columns always have the type expected by the index's associated
      operators, ie, we add RelabelType nodes when dealing with binary-compatible
      index opclasses.  This is needed to get varchar indexes to play nicely with
      the new EquivalenceClass machinery, as per recent gripe from Josh Berkus that
      CVS HEAD was failing to match a varchar index column to a constant restriction
      in the query.
      
      It seems likely that this change will allow removal of a lot of ugly ad-hoc
      RelabelType-stripping that the planner has traditionally done while matching
      expressions to other expressions, but I'll worry about that some other day.
      10f719af
  5. 31 5月, 2007 15 次提交