Column type MEDIUMTEXT fails on PostgreSQL

Description

A createTable change with a column type of MEDIUMTEXT (which is a MySQL type) fails on PostgreSQL. The PostgresTypeConverter class handles types that start with TEXT, but not containing TEXT.

Sample changeLog and stack trace attached.

Environment

PostgreSQL 9.0

Attachments

1

Activity

Show:

Nathan Voxland September 14, 2011 at 4:40 AM

merged in pull request, thanks

Don Smith September 13, 2011 at 6:57 PM

Added the same fix for blob types (tinyblob, blob, mediumblob, longblob). Updated the pull request to the latest commit.

Don Smith September 13, 2011 at 4:41 PM

Added pull request for the fix: change the public DataType getDataType(String columnTypeString, Boolean autoIncrement) method to accept any column type containing 'text' and convert it using getClobType().

Fixed

Details

Reporter

Components

Affects versions

Priority

Created September 13, 2011 at 4:20 PM
Updated June 20, 2013 at 3:30 AM
Resolved September 14, 2011 at 4:40 AM