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
393b085a
Commit
393b085a
authored
Jun 25, 2002
by
Dave Cramer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed retrieval of foreign/primary keys in imported/exported keys
parent
cdfa456d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
...nterfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
+4
-4
No files found.
src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
View file @
393b085a
...
...
@@ -15,7 +15,7 @@ import org.postgresql.util.PSQLException;
/*
* This class provides information about the database as a whole.
*
* $Id: DatabaseMetaData.java,v 1.5
6 2002/06/20 16:00:44 momjian
Exp $
* $Id: DatabaseMetaData.java,v 1.5
7 2002/06/25 16:30:49 davec
Exp $
*
* <p>Many of the methods here return lists of information in ResultSets. You
* can use the normal ResultSet methods such as getString and getInt to
...
...
@@ -2500,7 +2500,7 @@ WHERE
f
[
13
]
=
new
Field
(
connection
,
"DEFERRABILITY"
,
iInt2Oid
,
2
);
java
.
sql
.
ResultSet
rs
=
connection
.
ExecSQL
(
"SELECT "
"SELECT
distinct
"
+
"c.relname as prelname, "
+
"c2.relname as frelname, "
+
"t.tgconstrname, "
...
...
@@ -2676,8 +2676,8 @@ WHERE
tuple
[
7
]
=
fkeyColumns
.
toString
().
getBytes
();
//FKCOLUMN_NAME
tuple
[
8
]
=
rs
.
getBytes
(
4
);
//KEY_SEQ
tuple
[
11
]
=
rs
.
getBytes
(
5
);
//FK_NAME
tuple
[
12
]
=
rs
.
getBytes
(
3
);
//PK_NAME
tuple
[
11
]
=
rs
.
getBytes
(
3
);
//FK_NAME
tuple
[
12
]
=
rs
.
getBytes
(
5
);
//PK_NAME
// DEFERRABILITY
int
deferrability
=
importedKeyNotDeferrable
;
...
...
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