File tree 1 file changed +5
-3
lines changed
src/interfaces/jdbc/org/postgresql
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 10
10
import org .postgresql .util .*;
11
11
12
12
/**
13
- * $Id: Connection.java,v 1.1 2000/04/26 05:39:32 peter Exp $
13
+ * $Id: Connection.java,v 1.2 2000/06/06 07:24:06 peter Exp $
14
14
*
15
15
* This abstract class is used by org.postgresql.Driver to open either the JDBC1 or
16
16
* JDBC2 versions of the Connection class.
@@ -320,8 +320,10 @@ public java.sql.ResultSet ExecSQL(String sql) throws SQLException
320
320
int update_count = 1 ;
321
321
SQLException final_error = null ;
322
322
323
- if (sql .length () > 8192 )
324
- throw new PSQLException ("postgresql.con.toolong" ,sql );
323
+ // Commented out as the backend can now handle queries
324
+ // larger than 8K. Peter June 6 2000
325
+ //if (sql.length() > 8192)
326
+ //throw new PSQLException("postgresql.con.toolong",sql);
325
327
try
326
328
{
327
329
pg_stream .SendChar ('Q' );
You can’t perform that action at this time.
0 commit comments