Index: src/interfaces/jdbc/org/postgresql/test/TestUtil.java =================================================================== RCS file: /projects/cvsroot/pgsql-server/src/interfaces/jdbc/org/postgresql/test/TestUtil.java,v retrieving revision 1.1 diff -c -r1.1 TestUtil.java *** src/interfaces/jdbc/org/postgresql/test/TestUtil.java 2002/08/14 20:35:40 1.1 --- src/interfaces/jdbc/org/postgresql/test/TestUtil.java 2002/09/09 18:38:26 *************** *** 109,115 **** Statement stmt = con.createStatement(); try { ! stmt.executeUpdate("DROP TABLE " + table); } catch (SQLException ex) { --- 109,119 ---- Statement stmt = con.createStatement(); try { ! String sql = "DROP TABLE " + table; ! if (((org.postgresql.jdbc1.AbstractJdbc1Connection)con).haveMinimumServerVersion("7.3")) { ! sql += " CASCADE "; ! } ! stmt.executeUpdate(sql); } catch (SQLException ex) {