I am using the CVS version of image and drupal. I recieved an error "the data too long for the field" when trying to insert data into the image_list field. I found this is because it is a varchar by default. If it is changed to a text type, it will work. I recommend this change be included in image.pgsql.

Comments

bruno’s picture

Title: Postgres insert problems, but a fix was found » "data too long for the field" error with PostgreSQL
Assigned: Unassigned » bruno

Replaced 'carchar(255)' by 'text'. Note the 'carchar' typo in image.pgsql file. Would this be enough to explain the problem?

joemc91’s picture

Yes it would. When I first did the install I simply replaced carchar(255) with varchar(255) because that looked like what was wanted. When I ran into the aforementioned problem, I just figured the quick change to text was in order.

Anonymous’s picture