Upgrading 7.3.9 -> 7.4.8 - trouble with blobs

From: Christian Goetze <cg(at)sensage(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Upgrading 7.3.9 -> 7.4.8 - trouble with blobs
Date: 2005-08-11 18:10:38
Message-ID: 42FB949E.4040407@sensage.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have a database with blobs, I dump it with the following command:

pg_dump\
--host=$SENSAGE_DB_HOST\
--port=$SENSAGE_DB_PORT\
-U $SENSAGE_DB_ROOT_USER\
--blobs\
--create\
--format=t\
--file="$upgrade_dump"\
$SENSAGE_DB_NAME

I then move the data directory to the side, install the new version in
place, start it up, let it initialize it's new data storare, then I try
restoring my database with this command:

pg_restore\
--host=$SENSAGE_DB_HOST\
--port=$SENSAGE_DB_PORT\
-U $SENSAGE_DB_ROOT_USER\
--create\
--format=t\
"$upgrade_dump"

Seems to work fine, except I get:

pg_restore: [archiver] WARNING: skipping large-object restoration

How do I ensure that the blobs get restored?
--
cg

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ed L. 2005-08-11 18:36:58 Re: insert performance riddle
Previous Message Ying Lu 2005-08-11 18:05:55 Re: About using plpgsql funciton variable as the table