Truncation error

From: terry(at)greatgulfhomes(dot)com
To: "Postgres (E-mail)" <pgsql-general(at)postgresql(dot)org>
Subject: Truncation error
Date: 2002-07-03 14:25:03
Message-ID: 000601c2229d$6c8a2d80$2766f30a@development.greatgulfhomes.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I upgraded to the new database, 7.2.1 from 7.0

Things are working good, except one bad hitch. If I try to insert 75
characters into 60 character field I get:
ERROR: value too long for type character(60).

Is there a flag somewhere I can set to make the database go back to the old
behavior of blindly truncating the values upon insertion?

Terry Fielder
Network Engineer
Great Gulf Homes / Ashton Woods Homes
terry(at)greatgulfhomes(dot)com

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-07-03 14:37:27 Re: One source of constant annoyance identified
Previous Message Markus Wollny 2002-07-03 14:00:27 Re: One source of constant annoyance identified