1. 28 2月, 2006 1 次提交
  2. 27 2月, 2006 6 次提交
  3. 26 2月, 2006 5 次提交
  4. 25 2月, 2006 2 次提交
  5. 24 2月, 2006 6 次提交
  6. 22 2月, 2006 2 次提交
    • N
      Cleanup the usage of ScanDirection: use the symbolic names for the · 737651f6
      Neil Conway 提交于
      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
    • T
      Fix old pg_dump oversight: default values for domains really need to be dumped · 3666260f
      Tom Lane 提交于
      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
  7. 21 2月, 2006 3 次提交
  8. 20 2月, 2006 1 次提交
  9. 19 2月, 2006 7 次提交
    • T
      Modify logtape.c so that the initial LogicalTapeSetCreate call only · b34aa337
      Tom Lane 提交于
      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
    • T
      Improve tuplesort.c to support variable merge order. The original coding · df700e6b
      Tom Lane 提交于
      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
    • N
      Add TABLESPACE and ON COMMIT clauses to CREATE TABLE AS. ON COMMIT is · 85c0eac1
      Neil Conway 提交于
      required by the SQL standard, and TABLESPACE is useful functionality.
      Patch from Kris Jurka, minor editorialization by Neil Conway.
      85c0eac1
    • N
      Minor SGML style police work. · 8c5dfbab
      Neil Conway 提交于
      8c5dfbab
    • P
    • N
      Patch from Marko Kreen: · ce9b75db
      Neil Conway 提交于
      pgcrypto crypt()/md5 and hmac() leak memory when compiled against
      OpenSSL as openssl.c digest ->reset will do two DigestInit calls
      against a context.  This happened to work with OpenSSL 0.9.6
      but not with 0.9.7+.
      
      Reason for the messy code was that I tried to avoid creating
      wrapper structure to transport algorithm info and tried to use
      OpenSSL context for it.  The fix is to create wrapper structure.
      
      It also uses newer digest API to avoid memory allocations
      on reset with newer OpenSSLs.
      
      Thanks to Daniel Blaisdell for reporting it.
      ce9b75db
    • P
      Add support for Windows codepages 1253, 1254, 1255, and 1257 and clean · 1b658473
      Peter Eisentraut 提交于
      up a bunch of the support utilities.
      
      In src/backend/utils/mb/Unicode remove nearly duplicate copies of the
      UCS_to_XXX perl script and replace with one version to handle all generic
      files.  Update the Makefile so that it knows about all the map files.
      This produces a slight difference in some of the map files, using a
      uniform naming convention and not mapping the null character.
      
      In src/backend/utils/mb/conversion_procs create a master utf8<->win
      codepage function like the ISO 8859 versions instead of having a separate
      handler for each conversion.
      
      There is an externally visible change in the name of the win1258 to utf8
      conversion.  According to the documentation notes, it was named
      incorrectly and this changes it to a standard name.
      
      Running the Unicode mapping perl scripts has shown some additional mapping
      changes in koi8r and iso8859-7.
      1b658473
  10. 18 2月, 2006 1 次提交
  11. 17 2月, 2006 2 次提交
  12. 16 2月, 2006 2 次提交
  13. 15 2月, 2006 2 次提交