Обсуждение: upgrading from 8.0 rc5

Поиск
Список
Период
Сортировка

upgrading from 8.0 rc5

От
snacktime
Дата:
Do I need to do a full dump/restore when migrating from 8.0 rc5 to the
latest 8.0.3?

Chris

Re: upgrading from 8.0 rc5

От
Michael Fuhr
Дата:
On Mon, Jul 11, 2005 at 10:58:00AM -0700, snacktime wrote:
> Do I need to do a full dump/restore when migrating from 8.0 rc5 to the
> latest 8.0.3?

Check the revision history of catversion.h to see if the catalog
version changed between 8.0.0rc5 and 8.0.3:

http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/catversion.h

See also the 8.0.3 Release Notes, which mention that a dump/initdb/restore
will fix some security problems; otherwise you'll have to follow a manual
repair procedure:

http://www.postgresql.org/docs/8.0/static/release.html#RELEASE-8-0-3

Making a backup before doing an upgrade would be prudent in any case.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

Re: upgrading from 8.0 rc5

От
Tom Lane
Дата:
snacktime <snacktime@gmail.com> writes:
> Do I need to do a full dump/restore when migrating from 8.0 rc5 to the
> latest 8.0.3?

No.

When in doubt, the authoritative reference for this sort of question
is the revision history for catversion.h:

http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/catversion.h

If you look at revs 1.252 and 1.253, you can see that all the 8.0rc's
and indeed 8.0beta5 too are catalog-compatible with REL8_0_STABLE.

            regards, tom lane