Skip to content
Snippets Groups Projects
  1. Sep 24, 2010
  2. Sep 23, 2010
  3. Sep 22, 2010
  4. Sep 21, 2010
  5. Sep 20, 2010
  6. Sep 19, 2010
  7. Sep 18, 2010
    • Tom Lane's avatar
      Make sure we wait for protocol-level EOF when ending binary COPY IN. · f906e078
      Tom Lane authored
      The previous coding just terminated the COPY immediately after seeing
      the EOF marker (-1 where a row field count is expected).  The expected
      CopyDone or CopyFail message just got thrown away later, since we weren't
      in COPY mode anymore.  This behavior complicated matters for the JDBC
      driver, and arguably was the wrong thing in any case since a CopyFail
      message after the marker wouldn't be honored.
      
      Note that there is a behavioral change here: extra data after the EOF
      marker was silently ignored before, but now it will cause an error.
      Hence not back-patching, although this is arguably a bug.
      
      Per report and patch by Kris Jurka.
      f906e078
    • Tom Lane's avatar
      Give a suitable HINT when an INSERT's data source is a RowExpr containing · af0161e5
      Tom Lane authored
      the same number of columns expected by the insert.  This suggests that there
      were extra parentheses that converted the intended column list into a row
      expression.
      
      Original patch by Marko Tiikkaja, rather heavily editorialized by me.
      af0161e5
  8. Sep 17, 2010
  9. Sep 16, 2010
Loading