Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
ea88062c
Commit
ea88062c
authored
24 years ago
by
Peter Eisentraut
Browse files
Options
Downloads
Patches
Plain Diff
Sync with jdbc2, remove gratuitous white space differences.
parent
dbf30bba
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/interfaces/jdbc/org/postgresql/jdbc1/DatabaseMetaData.java
+242
-245
242 additions, 245 deletions
...nterfaces/jdbc/org/postgresql/jdbc1/DatabaseMetaData.java
with
242 additions
and
245 deletions
src/interfaces/jdbc/org/postgresql/jdbc1/DatabaseMetaData.java
+
242
−
245
View file @
ea88062c
...
...
@@ -424,7 +424,7 @@ public class DatabaseMetaData implements java.sql.DatabaseMetaData
}
/**
* Get all the "extra" characters that can be
w
used in unquoted
* Get all the "extra" characters that can be used in unquoted
* identifier names (those beyond a-zA-Z0-9 and _)
*
* <p>From the file src/backend/parser/scan.l, an identifier is
...
...
@@ -523,7 +523,7 @@ public class DatabaseMetaData implements java.sql.DatabaseMetaData
}
/**
* Are expressions in "OR
C
ER BY" lists supported?
* Are expressions in "OR
D
ER BY" lists supported?
*
* <br>e.g. select * from t order by a + b;
*
...
...
@@ -736,7 +736,7 @@ public class DatabaseMetaData implements java.sql.DatabaseMetaData
*/
public
boolean
supportsOuterJoins
()
throws
SQLException
{
return
false
;
return
true
;
// yes 7.1 does
}
/**
...
...
@@ -748,7 +748,7 @@ public class DatabaseMetaData implements java.sql.DatabaseMetaData
*/
public
boolean
supportsFullOuterJoins
()
throws
SQLException
{
return
false
;
return
true
;
// yes in 7.1
}
/**
...
...
@@ -760,7 +760,7 @@ public class DatabaseMetaData implements java.sql.DatabaseMetaData
*/
public
boolean
supportsLimitedOuterJoins
()
throws
SQLException
{
return
false
;
return
true
;
// yes in 7.1
}
/**
...
...
@@ -1009,7 +1009,7 @@ public class DatabaseMetaData implements java.sql.DatabaseMetaData
*/
public
boolean
supportsUnion
()
throws
SQLException
{
return
false
;
return
true
;
// 7.0?
}
/**
...
...
@@ -1723,7 +1723,7 @@ 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_')"
},
{
"TABLE"
,
"(relkind='r' and relhasrules='f' and relname !~ '^pg_'
and relname !~ '^xinv'
)"
},
{
"VIEW"
,
"(relkind='v' and relname !~ '^pg_')"
},
{
"INDEX"
,
"(relkind='i' and relname !~ '^pg_')"
},
{
"SEQUENCE"
,
"(relkind='S' and relname !~ '^pg_')"
},
...
...
@@ -2186,8 +2186,7 @@ public class DatabaseMetaData implements java.sql.DatabaseMetaData
);
}
private
void
importLoop
(
Vector
tuples
,
java
.
sql
.
ResultSet
keyRelation
)
throws
SQLException
{
private
void
importLoop
(
Vector
tuples
,
java
.
sql
.
ResultSet
keyRelation
)
throws
SQLException
{
String
s
,
s2
;
String
origTable
=
null
,
primTable
=
new
String
(
""
),
schema
;
int
i
;
...
...
@@ -2262,7 +2261,6 @@ public class DatabaseMetaData implements java.sql.DatabaseMetaData
//return tuples;
}
/**
* Get a description of the primary key columns that are
* referenced by a table's foreign key columns (the primary keys
...
...
@@ -2644,7 +2642,6 @@ public class DatabaseMetaData implements java.sql.DatabaseMetaData
f
[
11
]
=
new
Field
(
connection
,
"PAGES"
,
iInt4Oid
,
4
);
f
[
12
]
=
new
Field
(
connection
,
"FILTER_CONDITION"
,
iVarcharOid
,
32
);
r
=
connection
.
ExecSQL
(
"select "
+
"c.relname, "
+
"x.indisunique, "
+
...
...
@@ -2700,5 +2697,5 @@ public class DatabaseMetaData implements java.sql.DatabaseMetaData
return
new
ResultSet
(
connection
,
f
,
v
,
"OK"
,
1
);
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment