1. 11 Sep, 2005 3 commits
    • Neil Conway's avatar
      Many small improvements and copy edits to the release notes. Use "—" · f7a5f90c
      Neil Conway authored
      rather than "-" for the "dash" character. Correct SGML markup. Make
      references to the names of contributors more consistent. Rewrite a bit
      of prose, and make some other similar cleanups.
      f7a5f90c
    • Tom Lane's avatar
      Fix some corner-case bugs in _sendSQLLine's parsing of SQL commands · c7d1a8d4
      Tom Lane authored
      > found in a pg_dump archive.  It had problems with dollar-quote tags
      broken across bufferload boundaries (this may explain bug report from
      Rod Taylor), also with dollar-quote literals of the form $a$a$...,
      and was also confused about the rules for backslash in double quoted
      identifiers (ie, they're not special).  Also put in placeholder support
      for E'...' literals --- this will need more work later.
      c7d1a8d4
    • Tom Lane's avatar
      Avoid changing stdin/stdout to binary mode on Windows unless that is · e1a7d1b9
      Tom Lane authored
      really the source or destination of the archive.  I think this will
      resolve recent complaints that password prompting is broken in pg_restore
      on Windows.  Note that password prompting and reading from stdin is an
      unworkable combination on Windows ... but that was true anyway.
      e1a7d1b9
  2. 10 Sep, 2005 1 commit
  3. 09 Sep, 2005 3 commits
    • Tom Lane's avatar
      Given its current definition that depends on time(NULL), timetz_zone · 35979e6c
      Tom Lane authored
      is certainly no longer immutable, but must indeed be marked volatile.
      I wonder if it should use the value of now() (that is, transaction
      start time) so that it could be marked stable.  But it's probably not
      important enough to be worth changing the code for ... indeed, I'm not
      even going to force an initdb for this catalog change, seeing that we
      just did one a few hours ago.
      35979e6c
    • Tom Lane's avatar
      timestamptz_izone should return the input, not NULL, when the input · f2ebd01e
      Tom Lane authored
      is a non-finite timestamp, for consistency with related functions.
      In other words: +infinity rotated to a different timezone is still
      +infinity.
      f2ebd01e
    • Tom Lane's avatar
      Fix the various forms of AT TIME ZONE to accept either timezones found · a239af02
      Tom Lane authored
      in the zic database or zone names found in the date token table.  This
      preserves the old ability to do AT TIME ZONE 'PST' along with the new
      ability to do AT TIME ZONE 'PST8PDT'.  Per gripe from Bricklen Anderson.
      Also, fix some inconsistencies in usage of TZ_STRLEN_MAX --- the old
      code had the potential for one-byte buffer overruns, though given
      alignment considerations it's unlikely there was any real risk.
      a239af02
  4. 08 Sep, 2005 2 commits
  5. 07 Sep, 2005 1 commit
  6. 05 Sep, 2005 6 commits
  7. 04 Sep, 2005 1 commit
  8. 03 Sep, 2005 2 commits
  9. 02 Sep, 2005 15 commits
    • Bruce Momjian's avatar
      11b5c554
    • Tom Lane's avatar
      Fix the spelling. · 08020785
      Tom Lane authored
      08020785
    • Bruce Momjian's avatar
      Update. · 264cd5f0
      Bruce Momjian authored
      < 	  have its heap and index files truncated.  One issue is
      < 	  that no other backend should be able to add to the table
      < 	  at the same time, which is something that is currently
      < 	  allowed.
      > 	  removed or have its heap and index files truncated.  One
      > 	  issue is that no other backend should be able to add to
      > 	  the table at the same time, which is something that is
      > 	  currently allowed.
      264cd5f0
    • Bruce Momjian's avatar
      Update: · ef6d5b4e
      Bruce Momjian authored
      > 	o Allow COPY on a newly-created table to skip WAL logging
      450a452,456
      > 	  On crash recovery, the table involved in the COPY would
      > 	  have its heap and index files truncated.  One issue is
      > 	  that no other backend should be able to add to the table
      > 	  at the same time, which is something that is currently
      > 	  allowed.
      ef6d5b4e
    • Bruce Momjian's avatar
      Update: · f8ec875c
      Bruce Momjian authored
      < 	o Allow COPY into an empty table to skip WAL logging
      > 	o Allow COPY into an new table to skip WAL logging
      f8ec875c
    • Bruce Momjian's avatar
      Update listen_addresses description. · 4506ec95
      Bruce Momjian authored
      Darcy Buskermolen
      4506ec95
    • Bruce Momjian's avatar
      Add: · 5bddded6
      Bruce Momjian authored
      > * Use UTF8 encoding for NLS messages so all server encodings can
      >   read them properly
      <         o %Add support for Unicode
      <
      < 	  To fix this, the data needs to be converted to/from UTF16/UTF8
      <           so the Win32 wcscoll() can be used, and perhaps other functions
      < 	  like towupper().  However, UTF8 already works with normal
      < 	  locales but provides no ordering or character set classes.
      5bddded6
    • Bruce Momjian's avatar
      Update wording: · 3bea1a35
      Bruce Momjian authored
      <   could only see committed rows from another transaction. However,
      >   could only see rows from another completed transaction. However,
      981c981
      <   proper visibility of the row, for example, for cursors.
      >   proper visibility of the row's cmin, for example, for cursors.
      3bea1a35
    • Bruce Momjian's avatar
      Add: · da08559e
      Bruce Momjian authored
      > 	o Allow COPY into an empty table to skip WAL logging
      da08559e
    • Tom Lane's avatar
      Clean up a couple of ad-hoc computations of the maximum number of tuples · 35e9b1cc
      Tom Lane authored
      on a page, as suggested by ITAGAKI Takahiro.  Also, change a few places
      that were using some other estimates of max-items-per-page to consistently
      use MaxOffsetNumber.  This is conservatively large --- we could have used
      the new MaxHeapTuplesPerPage macro, or a similar one for index tuples ---
      but those places are simply declaring a fixed-size buffer and assuming it
      will work, rather than actively testing for overrun.  It seems safer to
      size these buffers in a way that can't overflow even if the page is
      corrupt.
      35e9b1cc
    • Tom Lane's avatar
      In copy_file, use a palloc'd buffer instead of just a local char array; · 962a4bb6
      Tom Lane authored
      a local array isn't guaranteed to have any particular alignment, and
      so it could slow down the data transfer.
      962a4bb6
    • Bruce Momjian's avatar
      Add text: · fad7e8ed
      Bruce Momjian authored
      * Merge xmin/xmax/cmin/cmax back into three header fields
      
        Before subtransactions, there used to be only three fields needed to
        store these four values. This was possible because only the current
        transaction looks at the cmin/cmax values. If the current transaction
        created and expired the row the fields stored where xmin (same as
        xmax), cmin, cmax, and if the transaction was expiring a row from a
        another transaction, the fields stored were xmin (cmin was not
        needed), xmax, and cmax. Such a system worked because a transaction
        could only see committed rows from another transaction. However,
        subtransactions can see rows from outer transactions, and once the
        subtransaction completes, the outer transaction continues, requiring
        the storage of all four fields. With subtransactions, an outer
        transaction can create a row, a subtransaction expire it, and when the
        subtransaction completes, the outer transaction still has to have
        proper visibility of the row, for example, for cursors.
      
        One possible solution is to create a phantom cid which represents a
        cmin/cmax pair and is stored in local memory.
      fad7e8ed
    • Tom Lane's avatar
      Add some notes about how pg_dump relates to the practices recommended · 6c0398a7
      Tom Lane authored
      under 'Populating a Database'.
      6c0398a7
    • Tom Lane's avatar
      Update performance discussion for 8.1. Add a little more explanatory · 9a412be5
      Tom Lane authored
      material in the EXPLAIN section, update examples to match current reality,
      show examples of bitmap indexscans as well as plain ones.
      9a412be5
    • Bruce Momjian's avatar
      Duplicate: · 55af2a43
      Bruce Momjian authored
      < * Maintain a map of recently-expired rows
      <
      <   This allows vacuum to target specific pages for possible free space
      <   without requiring a sequential scan.
      <
      Update entry:
      
      >   One complexity is that index entries still have to be vacuumed, and
      >   doing this without an index scan (by using the heap values to find the
      >   index entry) might be slow and unreliable, especially for user-defined
      >   index functions.
      55af2a43
  10. 01 Sep, 2005 6 commits