Re: Rollback when value too long - Mailing list pgsql-general

From Alexander Litvinov
Subject Re: Rollback when value too long
Date
Msg-id 200305161903.07154.lan@ac-sw.com
Whole thread Raw
In response to Rollback when value too long  ("Bartlomiej Frackiewicz" <frackiewicz@inity.de>)
List pgsql-general
Check the length of data before saving it and truncate if needed.

> Some tables where directly updated from web forms, so when the input
> is longer than the fileld, Postgres forces a rollback. This might be
> right, but is very angry for me. Is there a way to teach Postgres
> that it must truncate these values?


pgsql-general by date:

Previous
From: "Bartlomiej Frackiewicz"
Date:
Subject: Rollback when value too long
Next
From: "Nigel J. Andrews"
Date:
Subject: Re: Rollback when value too long