empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francis De Brabandere (JIRA)" <empire-db-...@incubator.apache.org>
Subject [jira] Created: (EMPIREDB-37) In Postgrql "BLOB" type not exist but is possible to create a "bytea" column
Date Fri, 27 Mar 2009 09:02:51 GMT
In Postgrql "BLOB" type not exist but is possible to create a "bytea" column
----------------------------------------------------------------------------

                 Key: EMPIREDB-37
                 URL: https://issues.apache.org/jira/browse/EMPIREDB-37
             Project: Empire-DB
          Issue Type: Bug
          Components: Core
    Affects Versions: empire-db-2.0.5-incubating
            Reporter: Francis De Brabandere


Mail from frank Lupo:

In Postgrql "BLOB" type not exist but is possible to create a "bytea" column.

in DBDatabaseDriverPostgreSQL.java
          case BLOB:
              sql.append("BLOB");
              if (c.getSize() > 0)
                  sql.append(" (" + String.valueOf((long) c.getSize()) + ") ");
              break;

change in
          case BLOB:
              sql.append("bytea");
              break;


http://www.postgresql.org/docs/8.3/static/datatype.html
http://jdbc.postgresql.org/documentation/80/binary-data.html


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message