? src/interfaces/jdbc/org/postgresql/copy ? src/interfaces/jdbc/org/postgresql/test/jdbc2/CopyTest.notjava ? src/interfaces/jdbc/org/postgresql/test/jdbc2/ResultSetMetaDataTest.java Index: src/interfaces/jdbc/org/postgresql/test/jdbc2/MiscTest.java =================================================================== RCS file: /projects/cvsroot/pgsql-server/src/interfaces/jdbc/org/postgresql/test/jdbc2/MiscTest.java,v retrieving revision 1.11 diff -c -r1.11 MiscTest.java *** src/interfaces/jdbc/org/postgresql/test/jdbc2/MiscTest.java 29 Nov 2003 22:41:23 -0000 1.11 --- src/interfaces/jdbc/org/postgresql/test/jdbc2/MiscTest.java 9 Dec 2003 21:42:57 -0000 *************** *** 3,8 **** --- 3,9 ---- import org.postgresql.test.TestUtil; import junit.framework.TestCase; import java.sql.*; + import java.io.*; /* * $PostgreSQL: pgsql-server/src/interfaces/jdbc/org/postgresql/test/jdbc2/MiscTest.java,v 1.11 2003/11/29 22:41:23 pgsql Exp $ *************** *** 65,72 **** fail( "Should not execute this, as a SQLException s/b thrown" ); con.commit(); } ! catch ( Exception ex ) ! {} try { con.commit(); --- 66,83 ---- fail( "Should not execute this, as a SQLException s/b thrown" ); con.commit(); } ! catch ( SQLException ex ) ! { ! // Verify that the SQLException is serializable. ! try { ! ByteArrayOutputStream baos = new ByteArrayOutputStream(); ! ObjectOutputStream oos = new ObjectOutputStream(baos); ! oos.writeObject(ex); ! oos.close(); ! } catch (IOException ioe) { ! fail(ioe.getMessage()); ! } ! } try { con.commit(); Index: src/interfaces/jdbc/org/postgresql/util/PSQLState.java =================================================================== RCS file: /projects/cvsroot/pgsql-server/src/interfaces/jdbc/org/postgresql/util/PSQLState.java,v retrieving revision 1.3 diff -c -r1.3 PSQLState.java *** src/interfaces/jdbc/org/postgresql/util/PSQLState.java 13 Sep 2003 04:02:16 -0000 1.3 --- src/interfaces/jdbc/org/postgresql/util/PSQLState.java 9 Dec 2003 21:42:57 -0000 *************** *** 10,16 **** package org.postgresql.util; ! public class PSQLState { private String state; --- 10,16 ---- package org.postgresql.util; ! public class PSQLState implements java.io.Serializable { private String state;