COPY FROM STDIN support for JDK 1.6 - Mailing list pgsql-jdbc
pgsql-jdbc by date:
Previous
From: Craig RingerDate:
Subject: Re: Strings with null characters produce exceptions when selected or inserted. Attempts to select messages with null bytes produces "ERROR: insufficient data left in message". And inserting produces "ERROR: invalid byte sequence for encoding \"UTF8\": 0x00". Since a null character is a valid UTF code point why is it rejected by the JDBC driver? The attached test can work with Mysql and their JDBC driver.