Re: What is the best plan to upgrade PostgreSQL from an ancient version?

Поиск
Список
Период
Сортировка
От marcin mank
Тема Re: What is the best plan to upgrade PostgreSQL from an ancient version?
Дата
Msg-id b1b9fac60901261928p9212144p7d0832f723356d2f@mail.gmail.com
обсуждение исходный текст
Ответ на What is the best plan to upgrade PostgreSQL from an ancient version?  ("Dann Corbit" <DCorbit@connx.com>)
Ответы Re: What is the best plan to upgrade PostgreSQL from an ancient version?
Список pgsql-general
On Mon, Jan 26, 2009 at 10:37 PM, Dann Corbit <DCorbit@connx.com> wrote:
> My notion is to do a character mode database dump as SQL statements and
> then load into the new version by execution of psql against the sql
> STATEMENTS.
>
> What are the "gotchas" we can expect with this approach?
>
> When I say 'ancient' I mean v7.1.3 and the target is v8.3.5.
>

One gotcha is that some ancient versions (and I think 7.1 is one of
these) used to silently truncate varchar values that don`t fit into
the declared field width, while recent versions throw errors. Check if
Your apps don`t depend on this behaviour.

good luck
Marcin

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: What is the best plan to upgrade PostgreSQL from an ancient version?
Следующее
От: David Fetter
Дата:
Сообщение: Re: What is the best plan to upgrade PostgreSQL from an ancient version?