summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2011-08-17 22:42:51 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2011-11-17 21:15:25 +0100
commit37c4d838654b7ab32e81c245ff6a618ceec91f13 (patch)
treef74837c06491854286a6846ed7adc2ae1731f49e /connectivity
parent315ada423c166dc84a2b0232e7f532c7fb455246 (diff)
More TODO
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/postgresql/pq_databasemetadata.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
index 911e30325f07..1e82646f4119 100644
--- a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
+++ b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
@@ -273,6 +273,12 @@ sal_Int32 DatabaseMetaData::getDriverMinorVersion( ) throw (RuntimeException)
sal_Bool DatabaseMetaData::usesLocalFiles( ) throw (SQLException, RuntimeException)
{
+ // LEM TODO:
+ // http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Database/XDatabaseMetaData_Interface
+ // says "Returns true when the catalog name of the
+ // database should not appear in the DatasourceBrowser
+ // of OpenOffice.org API, otherwise false is returned."
+ // So, hmmm, think about it.
return sal_False;
}
@@ -368,6 +374,11 @@ OUString DatabaseMetaData::getSQLKeywords( ) throw (SQLException, RuntimeExcept
OUString DatabaseMetaData::getNumericFunctions( ) throw (SQLException, RuntimeException)
{
// See http://www.postgresql.org/docs/9.1/static/functions-math.html
+ // LEM TODO: Err... http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Database/Support_Scalar_Functions
+ // says this should be "Open Group CLI" names, not PostgreSQL names.
+ // Currently this is just a list of supported functions in PostgreSQL, with PostgreSQL names.
+ // And it is my job to map from Open Group CLI names/syntax to PostgreSQL names/syntax. Where? By parsing the SQL???
+ // Should look at what the JDBC driver is doing.
return ASCII_STR(
"abs,"
"cbrt,"