empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Döbele (JIRA) <empire-db-...@incubator.apache.org>
Subject [jira] [Commented] (EMPIREDB-204) PostgreSQL not supports size parameter on BYTEA
Date Thu, 13 Feb 2014 07:50:21 GMT

    [ https://issues.apache.org/jira/browse/EMPIREDB-204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13900105#comment-13900105
] 

Rainer Döbele commented on EMPIREDB-204:
----------------------------------------

Hi Pavel,
Why don't you simply set the size to 0 in your column definiton.
In this case the size is not appended to the data type.
Please let me know before I perform this change.
Regards
Rainer

> PostgreSQL not supports size parameter on BYTEA
> -----------------------------------------------
>
>                 Key: EMPIREDB-204
>                 URL: https://issues.apache.org/jira/browse/EMPIREDB-204
>             Project: Empire-DB
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: empire-db-2.4.2
>            Reporter: Pavel Semenov
>
> PostgreDBDDLGenerator generates 'BYTEA(size)' for BLOB column data type, but Postgresql
not supports 'size' parameter.
> It's just needed to add this code to overriden method 'appendColumnDataType' to fix:
>             case BLOB:
>                 sql.append(DATATYPE_BLOB);
>                 break;



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message