Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd7dbba2

Browse files
author
Peter Mount
committed
Removed hardwired 8k limit on queries
1 parent552d593 commitd7dbba2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

‎src/interfaces/jdbc/org/postgresql/Connection.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
importorg.postgresql.util.*;
1111

1212
/**
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 $
1414
*
1515
* This abstract class is used by org.postgresql.Driver to open either the JDBC1 or
1616
* JDBC2 versions of the Connection class.
@@ -320,8 +320,10 @@ public java.sql.ResultSet ExecSQL(String sql) throws SQLException
320320
intupdate_count =1;
321321
SQLExceptionfinal_error =null;
322322

323-
if (sql.length() >8192)
324-
thrownewPSQLException("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);
325327
try
326328
{
327329
pg_stream.SendChar('Q');

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp