Informix: write out highest precision datetime (until we can parse the datetime preci...
[dbsrgits/DBIx-Class-Schema-Loader.git] / t / 12pg_common.t
index 723fc5a..3b626b1 100644 (file)
@@ -11,7 +11,6 @@ my $password = $ENV{DBICTEST_PG_PASS} || '';
 my $tester = dbixcsl_common_tests->new(
     vendor      => 'Pg',
     auto_inc_pk => 'SERIAL NOT NULL PRIMARY KEY',
-    default_function => 'now()',
     dsn         => $dsn,
     user        => $user,
     password    => $password,
@@ -57,6 +56,8 @@ my $tester = dbixcsl_common_tests->new(
        'time with time zone'            => { data_type => 'time with time zone' },
        'time(2) with time zone'         => { size => 2, data_type => 'time with time zone' },
        timestamp                        => { data_type => 'timestamp without time zone' },
+        'timestamp default current_timestamp'
+                                         => { data_type => 'timestamp without time zone', default_value => \'CURRENT_TIMESTAMP' },
        'timestamp(2)'                   => { size => 2, data_type => 'timestamp without time zone' },
        'timestamp without time zone'    => { data_type => 'timestamp without time zone' },
        'timestamp(2) without time zone' => { size => 2, data_type => 'timestamp without time zone' },
@@ -73,6 +74,7 @@ my $tester = dbixcsl_common_tests->new(
         numeric                          => { data_type => 'numeric' },
         decimal                          => { data_type => 'numeric' },
         'float(24)'                      => { data_type => 'real' },
+        'float(25)'                      => { data_type => 'double precision' },
         'float(53)'                      => { data_type => 'double precision' },
         float                            => { data_type => 'double precision' },
     },
@@ -133,3 +135,4 @@ if( !$dsn || !$user ) {
 else {
     $tester->run_tests();
 }
+# vim:et sw=4 sts=4 tw=0: