1. 08 Mar, 2008 2 commits
    • Andrew Dunstan's avatar
      Improve efficiency of attribute scanning in CopyReadAttributesCSV. · 95c238d9
      Andrew Dunstan authored
      The loop is split into two parts, inside quotes, and outside quotes, saving some instructions in both parts.
      
      Heikki Linnakangas
      95c238d9
    • Tom Lane's avatar
      Improve pglz_decompress() so that it cannot clobber memory beyond the · 9c767ad5
      Tom Lane authored
      available output buffer when presented with corrupt input.  Some testing
      suggests that this slows the decompression loop about 1%, which seems an
      acceptable price to pay for more robustness.  (Curiously, the penalty
      seems to be *less* on not-very-compressible data, which I didn't expect
      since the overhead per output byte ought to be more in the literal-bytes
      path.)
      
      Patch from Zdenek Kotala.  I fixed a corner case and did some renaming
      of variables to make the routine more readable.
      9c767ad5
  2. 07 Mar, 2008 17 commits
  3. 06 Mar, 2008 15 commits
  4. 05 Mar, 2008 6 commits