Thread: Large object and migration

Large object and migration

From
Martijn de Munnik
Date:
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

From
Tom Lane
Date:
Martijn de Munnik <martijn@demunnikservices.nl> 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