Large object and migration

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

Large object and migration

От:
Martijn de Munnik <martijn@demunnikservices.nl>
Дата:
Hi,

and want to migrate from 7.0.x to 7.1.x and read some instructions. As far as 
i can see the disk files are not compatible so I need to do a pg_dumpall and 
restore it in the new database. Buw what about the Large objects in the 
databases (images etc) the are not in the backup?
Is there a way to copy them to the new database?

with regards
Martijn de Munnik

Re: Large object and migration

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Martijn de Munnik  writes:
> and want to migrate from 7.0.x to 7.1.x and read some instructions. As far as
> i can see the disk files are not compatible so I need to do a pg_dumpall and 
> restore it in the new database. Buw what about the Large objects in the 
> databases (images etc) the are not in the backup?

You can use contrib/pg_dumplo, or (in 7.1.2 and later) you can run
7.1's pg_dump against the 7.0.* database.

			regards, tom lane
FAQ