Re: Upgrading 7.3.9 -> 7.4.8 - trouble with blobs

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christian Goetze <cg(at)sensage(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Upgrading 7.3.9 -> 7.4.8 - trouble with blobs
Date: 2005-08-11 22:09:41
Message-ID: 25073.1123798181@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Christian Goetze <cg(at)sensage(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Roman Neuhauser 2005-08-11 22:34:26 Re: plphp: PHP Warning: Call-time pass-by-reference has been deprecated
Previous Message Steve Wormley 2005-08-11 22:06:35 Re: insert performance riddle