Re: Problems upgrading from 7.1.3

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Problems upgrading from 7.1.3
Дата
Msg-id 12882.1044548760@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Problems upgrading from 7.1.3  (Geoffrey Wossum <geoffrey@pager.net>)
Список pgsql-admin
Geoffrey Wossum <geoffrey@pager.net> writes:
> Apparently PostgreSQL 7.1.3 didn't really enforce the length on VARCHAR(#)'s,
> which is why this never caused a problem with it.

Well, it did, but it did silent truncation instead of complaining.
This was determined to be not spec compliant ...

> Now, why did this all work fine if I added "-D" to pg_dump/pg_dumpall?
> Shouldn't that have failed for the same reason?

Yeah, it sure should have.  Can you compare the two dumps to see what's
different besides the data proper?

            regards, tom lane

В списке pgsql-admin по дате отправления:

Предыдущее
От: Geoffrey Wossum
Дата:
Сообщение: Re: Problems upgrading from 7.1.3
Следующее
От: Laurette Cisneros
Дата:
Сообщение: consistency checks