Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
b869f45d
Commit
b869f45d
authored
Jan 24, 2001
by
Peter Mount
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed the 8k row limit reported by DatabaseMetaData
parent
92681e97
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
261 additions
and
258 deletions
+261
-258
src/interfaces/jdbc/CHANGELOG
src/interfaces/jdbc/CHANGELOG
+3
-0
src/interfaces/jdbc/org/postgresql/jdbc1/DatabaseMetaData.java
...nterfaces/jdbc/org/postgresql/jdbc1/DatabaseMetaData.java
+7
-7
src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
...nterfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
+251
-251
No files found.
src/interfaces/jdbc/CHANGELOG
View file @
b869f45d
Wed Jan 24 09:18:00 GMT 2001 peter@retep.org.uk
- Removed the 8k limit by setting it to 64k
Fri Jan 19 08:47:00 GMT 2001 peter@retep.org.uk
- Applied patch submitted by John Schutz <schutz@austin.rr.com> that
fixed a bug with ANT's SQL functions (not needed for building but nice
...
...
src/interfaces/jdbc/org/postgresql/jdbc1/DatabaseMetaData.java
View file @
b869f45d
...
...
@@ -1093,7 +1093,7 @@ public class DatabaseMetaData implements java.sql.DatabaseMetaData
*/
public
int
getMaxCharLiteralLength
()
throws
SQLException
{
return
8190
;
return
65535
;
}
/**
...
...
@@ -1210,14 +1210,14 @@ public class DatabaseMetaData implements java.sql.DatabaseMetaData
* (in which case its 8192, the size of a row) or does it mean
* the number of rows it can access (in which case it 2^32 -
* a 4 byte OID number)? I think its the length of an index
* element, personally, so Im setting it to
8192
.
* element, personally, so Im setting it to
65535
.
*
* @return max index length in bytes
* @exception SQLException if a database access error occurs
*/
public
int
getMaxIndexLength
()
throws
SQLException
{
return
8192
;
return
65535
;
}
public
int
getMaxSchemaNameLength
()
throws
SQLException
...
...
@@ -1247,14 +1247,14 @@ public class DatabaseMetaData implements java.sql.DatabaseMetaData
/**
* What is the maximum length of a single row? (not including
* blobs).
8192
is defined in PostgreSQL.
* blobs).
65535
is defined in PostgreSQL.
*
* @return max row size in bytes
* @exception SQLException if a database access error occurs
*/
public
int
getMaxRowSize
()
throws
SQLException
{
return
8192
;
return
65535
;
}
/**
...
...
@@ -1277,7 +1277,7 @@ public class DatabaseMetaData implements java.sql.DatabaseMetaData
*/
public
int
getMaxStatementLength
()
throws
SQLException
{
return
8192
;
return
65535
;
}
/**
...
...
@@ -1315,7 +1315,7 @@ public class DatabaseMetaData implements java.sql.DatabaseMetaData
* since the number of tables is limited by the statement, we
* return 1024 here - this is just a number I came up with (being
* the number of tables roughly of three characters each that you
* can fit inside a
8192
character buffer with comma separators).
* can fit inside a
65535
character buffer with comma separators).
*
* @return the maximum
* @exception SQLException if a database access error occurs
...
...
src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
View file @
b869f45d
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment