Re: Upgrading 7.3.9 -> 7.4.8 - trouble with blobs - Mailing list pgsql-general

From Tom Lane
Subject Re: Upgrading 7.3.9 -> 7.4.8 - trouble with blobs
Date
Msg-id 25073.1123798181@sss.pgh.pa.us
Whole thread Raw
In response to Re: Upgrading 7.3.9 -> 7.4.8 - trouble with blobs  (Christian Goetze <cg@sensage.com>)
List pgsql-general
Christian Goetze <cg@sensage.com> writes:
>>> pg_restore: [archiver] WARNING: skipping large-object restoration
>>
>> IIRC, you get that if you're asking it to emit a text script rather than
>> connect directly to the destination database server.  I think you need a
>> "-d databasename" switch to make that happen.

> Does this mean that the only way to upgrade is to have both the old and
> the new databases running _at the same time_?

No, unless you were hoping to pipe the output of pg_dump straight into
pg_restore or something like that.

> BTW, on further inspection, it would seem that the bytea fields loaded
> properly after all - is the warning just a bug, or are "large objects"
> something else altogether?

AFAICS, the warning only comes out if there are large objects in the
dump file (and no, these have nothing to do with bytea fields).

            regards, tom lane

pgsql-general by date:

Previous
From: Steve Wormley
Date:
Subject: Re: insert performance riddle
Next
From: Roman Neuhauser
Date:
Subject: Re: plphp: PHP Warning: Call-time pass-by-reference has been deprecated