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
d766693b
Commit
d766693b
authored
Feb 13, 2001
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Back out *inv* changes for this file. Peter want to handle it.
parent
b9b045de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
...nterfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
+6
-4
No files found.
src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
View file @
d766693b
...
@@ -1617,7 +1617,8 @@ public class DatabaseMetaData implements java.sql.DatabaseMetaData
...
@@ -1617,7 +1617,8 @@ public class DatabaseMetaData implements java.sql.DatabaseMetaData
* </ol>
* </ol>
*
*
* <p>The valid values for the types parameter are:
* <p>The valid values for the types parameter are:
* "TABLE", "INDEX", "SEQUENCE", "SYSTEM TABLE" and "SYSTEM INDEX"
* "TABLE", "INDEX", "LARGE OBJECT", "SEQUENCE", "SYSTEM TABLE" and
* "SYSTEM INDEX"
*
*
* @param catalog a catalog name; For org.postgresql, this is ignored, and
* @param catalog a catalog name; For org.postgresql, this is ignored, and
* should be set to null
* should be set to null
...
@@ -1720,9 +1721,10 @@ public class DatabaseMetaData implements java.sql.DatabaseMetaData
...
@@ -1720,9 +1721,10 @@ public class DatabaseMetaData implements java.sql.DatabaseMetaData
//
//
// IMPORTANT: the query must be enclosed in ( )
// IMPORTANT: the query must be enclosed in ( )
private
static
final
String
getTableTypes
[][]
=
{
private
static
final
String
getTableTypes
[][]
=
{
{
"TABLE"
,
"(relkind='r' and relhasrules='f' and relname !~ '^pg_')"
},
{
"TABLE"
,
"(relkind='r' and relhasrules='f' and relname !~ '^pg_' and relname !~ '^xinv')"
},
{
"VIEW"
,
"(relkind='v' and relname !~ '^pg_')"
},
{
"VIEW"
,
"(relkind='v' and relname !~ '^pg_' and relname !~ '^xinv')"
},
{
"INDEX"
,
"(relkind='i' and relname !~ '^pg_')"
},
{
"INDEX"
,
"(relkind='i' and relname !~ '^pg_' and relname !~ '^xinx')"
},
{
"LARGE OBJECT"
,
"(relkind='r' and relname ~ '^xinv')"
},
{
"SEQUENCE"
,
"(relkind='S' and relname !~ '^pg_')"
},
{
"SEQUENCE"
,
"(relkind='S' and relname !~ '^pg_')"
},
{
"SYSTEM TABLE"
,
"(relkind='r' and relname ~ '^pg_')"
},
{
"SYSTEM TABLE"
,
"(relkind='r' and relname ~ '^pg_')"
},
{
"SYSTEM INDEX"
,
"(relkind='i' and relname ~ '^pg_')"
}
{
"SYSTEM INDEX"
,
"(relkind='i' and relname ~ '^pg_')"
}
...
...
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