You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@empire-db.apache.org by "Rainer Döbele (JIRA)" <em...@incubator.apache.org> on 2014/02/13 08:50:21 UTC
[jira] [Commented] (EMPIREDB-204) PostgreSQL not supports size
parameter on BYTEA
[ 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)