Long strings, short varchars - Mailing list pgsql-bugs

From Sasa Markovic
Subject Long strings, short varchars
Date
Msg-id IHEFJCICNMFNCIKJAKIKEELACBAA.saxon@eunet.yu
Whole thread Raw
Responses Re: Long strings, short varchars  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-bugs
In PostgreSQL 7.1, this code goes smoothly.

    create table test (name varchar(5));
    insert into test values('abracadabra');

Long input string was silently trimmed. But in PG7.2 an error is triggered.

OK, I suppose this is just a new feature, not a bug but. But...

...Is it possible to restore the old behaviour?

--
Best regards,
Sasa Markovic, Development Team Leader
DataGate Belgrade - http://www.datagate.co.yu

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bug #738: "order by" returning different results in 7.2 and 7.21
Next
From: Peter Eisentraut
Date:
Subject: Re: mistakes in postgresql-snapshots (7.3)