Re: exporting/importing BLOB's (lo_* style)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: kevin kempter <kevin(at)kevinkempterllc(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: exporting/importing BLOB's (lo_* style)
Date: 2008-09-12 19:54:03
Message-ID: 15646.1221249243@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

kevin kempter <kevin(at)kevinkempterllc(dot)com> writes:
> Hi All;
> I want to dump a set of BLOB's from one db/server and import to another.

> I assume I cannot do a pg_dump unless I also dump related
> pg_largeobject rows for the referenced OID

> I assume I'll need to export via distinct lo_export commands and use
> lo_import to insert into the second database server.

Why don't you just use pg_dump?

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Marlowe 2008-09-12 19:55:23 Re: Recommend dba maintenance tasks on a regular bases
Previous Message kevin kempter 2008-09-12 19:19:28 exporting/importing BLOB's (lo_* style)