Long strings, short varchars

Поиск
Список
Период
Сортировка
От Sasa Markovic
Тема Long strings, short varchars
Дата
Msg-id IHEFJCICNMFNCIKJAKIKEELACBAA.saxon@eunet.yu
обсуждение исходный текст
Ответы Re: Long strings, short varchars
Список 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 по дате отправления: