summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Winkler2009-09-21 09:29:18 (EDT)
committerStefan Winkler2009-09-21 09:29:18 (EDT)
commit77f74bc9cb0457c2bbd445e0d7c929e904c50fb8 (patch)
tree173a85182d3b1fbc411cc895fe22f11419bb7058
parentcac9338cbc1981e67637c452d5a7ac7441da9bd6 (diff)
downloadcdo-77f74bc9cb0457c2bbd445e0d7c929e904c50fb8.zip
cdo-77f74bc9cb0457c2bbd445e0d7c929e904c50fb8.tar.gz
cdo-77f74bc9cb0457c2bbd445e0d7c929e904c50fb8.tar.bz2
bug 289853: [DB] PostgreSQL does not know type DOUBLE
https://bugs.eclipse.org/bugs/show_bug.cgi?id=289853
-rw-r--r--plugins/org.eclipse.net4j.db.postgresql/src/org/eclipse/net4j/db/postgresql/PostgreSQLAdapter.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/org.eclipse.net4j.db.postgresql/src/org/eclipse/net4j/db/postgresql/PostgreSQLAdapter.java b/plugins/org.eclipse.net4j.db.postgresql/src/org/eclipse/net4j/db/postgresql/PostgreSQLAdapter.java
index e81da45..442b61c 100644
--- a/plugins/org.eclipse.net4j.db.postgresql/src/org/eclipse/net4j/db/postgresql/PostgreSQLAdapter.java
+++ b/plugins/org.eclipse.net4j.db.postgresql/src/org/eclipse/net4j/db/postgresql/PostgreSQLAdapter.java
@@ -96,9 +96,11 @@ public class PostgreSQLAdapter extends DBAdapter
{
case VARCHAR:
case CLOB:
- return "text"; //$NON-NLS-1$
+ return "text"; //$NON-NLS-1$
case BLOB:
return "bytea"; //$NON-NLS-1$
+ case DOUBLE:
+ return "double precision"; //$NON-NLS-1$
}
return super.getTypeName(field);