Re: Major upgrade advice

Поиск
Список
Период
Сортировка
Искать
От
Joshua D. Drake
Тема
Re: Major upgrade advice
Дата
Msg-id
1213810113.8601.197.camel@jd-laptop
Ответ на
Major upgrade advice (Steve Crawford)
Список
Дерево обсуждения
Major upgrade advice Steve Crawford <scrawford@pinpointresearch.com>
Re: Major upgrade advice "Joshua D. Drake" <jd@commandprompt.com>
Re: Major upgrade advice Achilleas Mantzios <achill@matrix.gatewaynet.com>
Re: Major upgrade advice Steve Crawford <scrawford@pinpointresearch.com>
Re: Major upgrade advice Roberto Garcia <roberto.garcia@cptec.inpe.br>
Re: Major upgrade advice "Peter Koczan" <pjkoczan@gmail.com>


On Wed, 2008-06-18 at 10:21 -0700, Steve Crawford wrote:
> I'm getting ready to tackle another upgrade: 7.4.6 -> 8.3.3. The 
> preliminaries (development/testing) look good but I'd like 
> suggestions/warnings/comments on:
> 
> 1. Removing OIDs on user tables.
> 
> I don't see any dump or restore options to remove OIDs. Am I better off 
> modifying the dump to alter the "SET default_with_oids = true;" lines or 
> going through all the user tables in advance and running "ALTER TABLE 
> ... SET WITHOUT OIDS"? Other options?

If the table has oids, pg_dump is going to grab them and restore them as
such. If you are assured that you don't need OIDs I would drop the oid
columns from the user tables before the upgrade.

> 
> 2. Alter encoding from C to utf8.

Very good chance the dump will not load without going through a cleanup
with iconv.

Joshua D. Drake


В списке pgsql-admin по дате отправления
От: hubert depesz lubaczewski
Дата:
От: Achilleas Mantzios
Дата:
Сообщение: Re: Major upgrade advice
FAQ