]> granicus.if.org Git - postgresql/commitdiff
Fix for java timestamp type from teunis@sigil.computersupportcentre.com
authorBruce Momjian <bruce@momjian.us>
Thu, 30 Oct 1997 13:55:41 +0000 (13:55 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 30 Oct 1997 13:55:41 +0000 (13:55 +0000)
src/interfaces/jdbc/postgresql/Field.java

index 2beb1d29411ae74bfff2979cd4fcb0728ac4f5d9..a4cc3c76e76bff3436674d5a89b326eb128b64c5 100644 (file)
@@ -80,6 +80,8 @@ public class Field
          sql_type = Types.TIME;
        else if (type_name.equals("abstime"))
          sql_type = Types.TIMESTAMP;
+       else if (type_name.equals("timestamp"))
+         sql_type = Types.TIMESTAMP;
        else
          sql_type = Types.OTHER;
       }