db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin van den Bemt (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DDLUTILS-165) Data type mismatch in PostgreSQL with TEXT columns
Date Sat, 24 Mar 2007 17:28:32 GMT

     [ https://issues.apache.org/jira/browse/DDLUTILS-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Martin van den Bemt updated DDLUTILS-165:

    Attachment: patch.txt

> Data type mismatch in PostgreSQL with TEXT columns
> --------------------------------------------------
>                 Key: DDLUTILS-165
>                 URL: https://issues.apache.org/jira/browse/DDLUTILS-165
>             Project: DdlUtils
>          Issue Type: Bug
>          Components: Core - PostgreSql
>         Environment: PostgreSQL v2.8.3 on Windows with JDBC driver 'postgresql-8.2-504.jdbc3.jar'
>            Reporter: Stefan Huber
>         Assigned To: Thomas Dudziak
>             Fix For: 1.0
>         Attachments: patch.txt
> The PostgreSql jdbc driver returns VARCHAR(2147483647) for columns defined as TEXT. The
ModelReader expects VARCHAR(-1) for these data type. 
> Maybe the behaviour of the jdbc driver changed lately, because there is a comment in
the PostgreSqlModelReader.readColumn method which says that PostgreSQL returns VARCHAR(-1),
but in my environment i get VARCHAR(2147483647).

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

View raw message