]> gitweb.factorcode.org Git - factor.git/commitdiff
Fix db.postgresql load error
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Thu, 4 Dec 2008 08:21:36 +0000 (02:21 -0600)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Thu, 4 Dec 2008 08:21:36 +0000 (02:21 -0600)
basis/db/postgresql/postgresql.factor

index 82d96c4af110c665b20859b3a0dc070699183258..90a875b8fff6f4992731f1073ffd538d79a596e5 100644 (file)
@@ -267,7 +267,7 @@ ERROR: no-compound-found string object ;
 M: postgresql-db compound ( string object -- string' )
     over {
         { "default" [ first number>string " " glue ] }
-        { "varchar" [ first number>string paren append ] }
+        { "varchar" [ first number>string "(" ")" surround append ] }
         { "references" [ >reference-string ] }
         [ drop no-compound-found ]
     } case ;