Re: BLOBs, pg_dump & pg_restore

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Howard Lowndes <lannet(at)lannet(dot)com(dot)au>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: BLOBs, pg_dump & pg_restore
Date: 2003-10-02 14:18:49
Message-ID: 26879.1065104329@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Howard Lowndes <lannet(at)lannet(dot)com(dot)au> writes:
> When you dump a database with the BLOBs, even with the -c option, and then
> restore that database again with the -c option, you get double the BLOBs.
> The original BLOBs are there as are the new copies, and the cross
> referenced oids are updated.

Yeah. I don't believe "-c" causes anything much to be done with BLOBs.
It would be fairly risky to try, since the premise of "-c" is that you
don't want the *whole* database wiped out, only the objects you are
replacing. I'd worry about zapping BLOBs that are still referenced
elsewhere ...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2003-10-02 15:03:00 Re: return next in recursive function
Previous Message Petr Bravenec 2003-10-02 14:05:04 return next in recursive function