I had a problem with a deployment using the new Postgres field types. Once an application is built using those field types, you can't switch it to another database.

I recommend we remove the file completely and go back to the original Postgres field types file.

Adrian Crum
Sandglass Software
www.sandglass-software.com

On 8/21/2015 3:34 AM, Jacopo Cappellato wrote:
Hi all,

in rev. 1530237 the sql type for Postgres for "comments" and "description" 
fields was changed from VARCHAR(255) to TEXT:

https://fisheye6.atlassian.com/changelog/ofbiz/?cs=1530237

The original contribution and discussion can be found here:

https://issues.apache.org/jira/browse/OFBIZ-1920

However I don't think it was a good idea and I suggest to change the types back to VARCHAR(255) 
because the new TEXT type allows strings of any length; all other types definitions (MySQL, Derby 
etc...) are using VARCHAR(255) thus limiting the length of "comments" and 
"description" fields to 255 characters and now Postgres is the only one that is different.

In my opinion we should set postgres to VARCHAR(255) too until we will decide 
to change the size for all the dbs.

Any objections?

Kind regards,

Jacopo

Reply via email to