Rollback when value too long

From: "Bartlomiej Frackiewicz" <frackiewicz(at)inity(dot)de>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Rollback when value too long
Date: 2003-05-16 11:46:50
Message-ID: F6B6C0113FA7B94D86B34CB9493D02F3769F3B@atlas._msdcs.inity.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

we are using "PostgreSQL 7.3.1 on i386-pc-linux-gnu" with Perl DBI.

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?

Thanks in advance,

Bart

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alexander Litvinov 2003-05-16 12:03:07 Re: Rollback when value too long
Previous Message Axel Straschil 2003-05-16 10:18:15 Pl/PgSql: Loop over Array