I've used SQL::Translator to translate a mysql schema file to postgresql schema 
file. He translates this:

        arg             MEDIUMBLOB,

into this:

  "arg" bytea (16777215),

But when I try to slurp the sql file into Pg, I get this error:

ERROR:  syntax error at or near "(" at character 93
LINE 4:   "arg" bytea(16777215),

I do not understand this error, nor how to resolve it. Pg doco and googling 
have left me even more confused.

/dennis


_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[EMAIL PROTECTED]

Reply via email to