@@ -1093,7 +1093,7 @@ public int getMaxBinaryLiteralLength() throws SQLException
1093
1093
*/
1094
1094
public int getMaxCharLiteralLength () throws SQLException
1095
1095
{
1096
- return 8190 ;
1096
+ return 65535 ;
1097
1097
}
1098
1098
1099
1099
/**
@@ -1210,14 +1210,14 @@ public int getMaxCursorNameLength() throws SQLException
1210
1210
* (in which case its 8192, the size of a row) or does it mean
1211
1211
* the number of rows it can access (in which case it 2^32 -
1212
1212
* a 4 byte OID number)? I think its the length of an index
1213
- * element, personally, so Im setting it to 8192 .
1213
+ * element, personally, so Im setting it to 65535 .
1214
1214
*
1215
1215
* @return max index length in bytes
1216
1216
* @exception SQLException if a database access error occurs
1217
1217
*/
1218
1218
public int getMaxIndexLength () throws SQLException
1219
1219
{
1220
- return 8192 ;
1220
+ return 65535 ;
1221
1221
}
1222
1222
1223
1223
public int getMaxSchemaNameLength () throws SQLException
@@ -1247,14 +1247,14 @@ public int getMaxCatalogNameLength() throws SQLException
1247
1247
1248
1248
/**
1249
1249
* What is the maximum length of a single row? (not including
1250
- * blobs). 8192 is defined in PostgreSQL.
1250
+ * blobs). 65535 is defined in PostgreSQL.
1251
1251
*
1252
1252
* @return max row size in bytes
1253
1253
* @exception SQLException if a database access error occurs
1254
1254
*/
1255
1255
public int getMaxRowSize () throws SQLException
1256
1256
{
1257
- return 8192 ;
1257
+ return 65535 ;
1258
1258
}
1259
1259
1260
1260
/**
@@ -1277,7 +1277,7 @@ public boolean doesMaxRowSizeIncludeBlobs() throws SQLException
1277
1277
*/
1278
1278
public int getMaxStatementLength () throws SQLException
1279
1279
{
1280
- return 8192 ;
1280
+ return 65535 ;
1281
1281
}
1282
1282
1283
1283
/**
@@ -1315,7 +1315,7 @@ public int getMaxTableNameLength() throws SQLException
1315
1315
* since the number of tables is limited by the statement, we
1316
1316
* return 1024 here - this is just a number I came up with (being
1317
1317
* the number of tables roughly of three characters each that you
1318
- * can fit inside a 8192 character buffer with comma separators).
1318
+ * can fit inside a 65535 character buffer with comma separators).
1319
1319
*
1320
1320
* @return the maximum
1321
1321
* @exception SQLException if a database access error occurs
0 commit comments