Обсуждение: Migration from PG 7.1.3 to 8.1.1 with blobs

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

Migration from PG 7.1.3 to 8.1.1 with blobs

От
"Pierre LEBRECH"
Дата:
Hello,

I want to migrate a PostgreSQL db from 7.1.3 to PG db 8.1.1.
The db contains blobs. Some time ago, I used pg_dumplo to dump
and restore blobs. But in 8.1.1, I can not find anymore this
little program to do the job.

What could be the best way to migrate?
Thanks for your help.


Accédez au courrier électronique de La Poste : www.laposte.net ;
Jusqu'au 25 décembre, participez  au grand jeu du Calendrier de l'Avent et
 gagnez tous les jours de nombreux lots, + de 300 cadeaux en jeu !




Re: Migration from PG 7.1.3 to 8.1.1 with blobs

От
"Larry Rosenman"
Дата:
Pierre LEBRECH wrote:
> Hello,
>
> I want to migrate a PostgreSQL db from 7.1.3 to PG db 8.1.1.
> The db contains blobs. Some time ago, I used pg_dumplo to dump
> and restore blobs. But in 8.1.1, I can not find anymore this
> little program to do the job.
>
> What could be the best way to migrate?
> Thanks for your help.

a quick look around found:

http://archives.postgresql.org/pgsql-patches/2004-11/msg00309.php

Might be useful.

LER
--
Larry Rosenman
Database Support Engineer

PERVASIVE SOFTWARE. INC.
12365B RIATA TRACE PKWY
3015
AUSTIN TX  78727-6531

Tel: 512.231.6173
Fax: 512.231.6597
Email: Larry.Rosenman@pervasive.com
Web: www.pervasive.com

Re: Migration from PG 7.1.3 to 8.1.1 with blobs

От
Tom Lane
Дата:
"Pierre LEBRECH" <pierre.lebrech@laposte.net> writes:
> I want to migrate a PostgreSQL db from 7.1.3 to PG db 8.1.1.

Wow, that's a big jump.  Expect to find a few minor incompatibilities...

> The db contains blobs. Some time ago, I used pg_dumplo to dump
> and restore blobs. But in 8.1.1, I can not find anymore this
> little program to do the job.

I think it's still in contrib/, but you really don't need it.  pg_dump
handles blobs just fine these days.  Just point 8.1's pg_dump at the
7.1 server.

            regards, tom lane