diff options
author | Peter Mount <peter@retep.org.uk> | 2000-06-06 07:24:06 +0000 |
---|---|---|
committer | Peter Mount <peter@retep.org.uk> | 2000-06-06 07:24:06 +0000 |
commit | d7dbba2659d7087b01ff55e4db69eda1c7049cfa (patch) | |
tree | 0bb19d1cdb2cb8e4054200b7bff5f983c953d7d2 /src/interfaces/jdbc | |
parent | 552d59353fdedc099a2b0c4de0670beabe92bf5e (diff) | |
download | postgresql-d7dbba2659d7087b01ff55e4db69eda1c7049cfa.tar.gz postgresql-d7dbba2659d7087b01ff55e4db69eda1c7049cfa.zip |
Removed hardwired 8k limit on queries
Diffstat (limited to 'src/interfaces/jdbc')
-rw-r--r-- | src/interfaces/jdbc/org/postgresql/Connection.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/Connection.java b/src/interfaces/jdbc/org/postgresql/Connection.java index 045ddec0fcf..2b79d20d3f7 100644 --- a/src/interfaces/jdbc/org/postgresql/Connection.java +++ b/src/interfaces/jdbc/org/postgresql/Connection.java @@ -10,7 +10,7 @@ import org.postgresql.largeobject.*; import org.postgresql.util.*; /** - * $Id: Connection.java,v 1.1 2000/04/26 05:39:32 peter Exp $ + * $Id: Connection.java,v 1.2 2000/06/06 07:24:06 peter Exp $ * * This abstract class is used by org.postgresql.Driver to open either the JDBC1 or * JDBC2 versions of the Connection class. @@ -320,8 +320,10 @@ public abstract class Connection int update_count = 1; SQLException final_error = null; - if (sql.length() > 8192) - throw new PSQLException("postgresql.con.toolong",sql); + // Commented out as the backend can now handle queries + // larger than 8K. Peter June 6 2000 + //if (sql.length() > 8192) + //throw new PSQLException("postgresql.con.toolong",sql); try { pg_stream.SendChar('Q'); |