--- schema_pgsql.inc.orig	2009-02-28 18:11:53.000000000 +0100
+++ schema_pgsql.inc	2009-02-28 18:43:22.000000000 +0100
@@ -97,11 +97,9 @@ function schema_pgsql_inspect($tbl_name 
           $def_type == 'regclass)') {
           $col['type'] = 'serial';
           unset($col['default']);
-        } 
-        else if ($col['type'] == 'float') {
-          $col['default'] = floatval($col['default']);
         } else {
-          $col['default'] = intval($col['default']);
+        // The value is actually an expression, which may be stored in parentheses
+          eval("\$col['default'] = {$col['default']};");
         }
       } else {
         // The column is not numeric, so $col['default'] should remain
