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