Re: psql backward compatibility

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: psql backward compatibility
Дата
Msg-id f0bf61e1-962c-a559-f188-91f640a0c8aa@aklaver.com
обсуждение исходный текст
Ответ на psql backward compatibility  (Stephen Haddock <haddock.stephenm@gmail.com>)
Ответы Re: psql backward compatibility  (Stephen Haddock <haddock.stephenm@gmail.com>)
Re: psql backward compatibility  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
On 11/18/20 8:05 AM, Stephen Haddock wrote:
> Hello,
> 
> When upgrading an older version of postgres, version 8.4 for example, to 
> a newer version such as 9.6, does the data have to be migrated immediately?
> 
> It looks like the recommended method is to dump the data, upgrade, 
> initialize a new cluster, and then restore the dumped data into the 
> newer version. My question is whether the data dump and restore must be 
> done immediately. It appears that 9.6 is able to run against the older 
> cluster (DB service starts, queries work, etc), and the data could be 

Hmm, missed that. As David said that should not happen and if you are 
running a new binary against an old cluster then you will get corruption.

> migrated days or weeks later. I don't know if that is asking for issues 
> down the line though such as 9.6 corrupting the data due to 
> incompatibilities between the two versions.
> 
> Thanks!


-- 
Adrian Klaver
adrian.klaver@aklaver.com



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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: psql backward compatibility
Следующее
От: Snjezana Frketic
Дата:
Сообщение: Re: How to select values in a JSON type of column?