From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
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:55:39 |
Message-ID: | 20080912195538.GL8854@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
kevin kempter wrote:
> 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
pg_dump should dump large objects automatically. If you're dumping a
single table, make sure you use the -b switch. Saith the manpage
-b
--blobs
Include large objects in the dump. This is the default behavior
except when --schema, --table, or --schema-only is specified, so
the -b switch is only useful to add large objects to selective
dumps.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
From | Date | Subject | |
---|---|---|---|
Next Message | kevin kempter | 2008-09-12 21:01:39 | Triggers & BLOB's |
Previous Message | Scott Marlowe | 2008-09-12 19:55:23 | Re: Recommend dba maintenance tasks on a regular bases |