Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9550409

Browse files
committed
This patch updates some comments in the DatabaseMetaData classes to
reflect a mail thread that discussed our conformance (or lack thereof)to the SQL92 spec.Barry Lind
1 parenta21c096 commit9550409

File tree

2 files changed

+18
-12
lines changed

2 files changed

+18
-12
lines changed

‎src/interfaces/jdbc/org/postgresql/jdbc1/DatabaseMetaData.java

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,12 @@ public boolean supportsExtendedSQLGrammar() throws SQLException
676676

677677
/**
678678
* Does this driver support the ANSI-92 entry level SQL grammar?
679-
* All JDBC Compliant drivers must return true.
679+
* All JDBC Compliant drivers must return true. We currently
680+
* report false until 'schema' support is added. Then this
681+
* should be changed to return true, since we will be mostly
682+
* compliant (probably more compliant than many other databases)
683+
* And since this is a requirement for all JDBC drivers we
684+
* need to get to the point where we can return true.
680685
*
681686
* @return true if so
682687
* @exception SQLException if a database access error occurs
@@ -722,7 +727,7 @@ public boolean supportsIntegrityEnhancementFacility() throws SQLException
722727
}
723728

724729
/**
725-
* Is some form of outer join supported? From my knowledge, nope.
730+
* Is some form of outer join supported?
726731
*
727732
* @return true if so
728733
* @exception SQLException if a database access error occurs
@@ -733,8 +738,7 @@ public boolean supportsOuterJoins() throws SQLException
733738
}
734739

735740
/**
736-
* Are full nexted outer joins supported? Well, we dont support any
737-
* form of outer join, so this is no as well
741+
* Are full nexted outer joins supported?
738742
*
739743
* @return true if so
740744
* @exception SQLException if a database access error occurs
@@ -745,8 +749,7 @@ public boolean supportsFullOuterJoins() throws SQLException
745749
}
746750

747751
/**
748-
* Is there limited support for outer joins? (This will be true if
749-
* supportFullOuterJoins is true)
752+
* Is there limited support for outer joins?
750753
*
751754
* @return true if so
752755
* @exception SQLException if a database access error occurs

‎src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,12 @@ public boolean supportsExtendedSQLGrammar() throws SQLException
676676

677677
/**
678678
* Does this driver support the ANSI-92 entry level SQL grammar?
679-
* All JDBC Compliant drivers must return true.
679+
* All JDBC Compliant drivers must return true. We currently
680+
* report false until 'schema' support is added. Then this
681+
* should be changed to return true, since we will be mostly
682+
* compliant (probably more compliant than many other databases)
683+
* And since this is a requirement for all JDBC drivers we
684+
* need to get to the point where we can return true.
680685
*
681686
* @return true if so
682687
* @exception SQLException if a database access error occurs
@@ -722,7 +727,7 @@ public boolean supportsIntegrityEnhancementFacility() throws SQLException
722727
}
723728

724729
/**
725-
* Is some form of outer join supported? From my knowledge, nope.
730+
* Is some form of outer join supported?
726731
*
727732
* @return true if so
728733
* @exception SQLException if a database access error occurs
@@ -733,8 +738,7 @@ public boolean supportsOuterJoins() throws SQLException
733738
}
734739

735740
/**
736-
* Are full nexted outer joins supported? Well, we dont support any
737-
* form of outer join, so this is no as well
741+
* Are full nexted outer joins supported?
738742
*
739743
* @return true if so
740744
* @exception SQLException if a database access error occurs
@@ -745,8 +749,7 @@ public boolean supportsFullOuterJoins() throws SQLException
745749
}
746750

747751
/**
748-
* Is there limited support for outer joins? (This will be true if
749-
* supportFullOuterJoins is true)
752+
* Is there limited support for outer joins?
750753
*
751754
* @return true if so
752755
* @exception SQLException if a database access error occurs

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp