Re: dump/restore bytea fields

From: "David Parker" <dparker(at)tazznetworks(dot)com>
To: "postgres general" <pgsql-general(at)postgresql(dot)org>
Subject: Re: dump/restore bytea fields
Date: 2005-06-22 21:06:02
Message-ID: 07FDEE0ED7455A48AC42AC2070EDFF7C817F14@corpsrv2.tazznetworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Never mind. Appears to have been local to a particular machine. I was
able to pg_restore the same dump file on another box (which I should
have tried before posting!).... Sorry for the noise.

- DAP

________________________________

From: pgsql-general-owner(at)postgresql(dot)org
[mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of David Parker
Sent: Wednesday, June 22, 2005 4:05 PM
To: postgres general
Subject: [GENERAL] dump/restore bytea fields


In 7.4.5 I'm trying to dump and selectively load a database that
contains bytea fields. I dumped it with the command:

pg_dump -p 24000 -Fc -f /home/dparker/temp/tazz.dmp tazz

When I try to restore it, after having generated/modified a
list-file, I get the following error:

% pg_restore -p 24600 -a -d tazz -L ./tazz.toc
/home/dparker/temp/tazz.dmp
pg_restore: ERROR: out of memory
DETAIL: Failed on request of size 8388608.
CONTEXT: COPY library, line 1: "137
DD93266ED40DC09A6B502DB31A254168 1.0.0 agents.so
library t \\177ELF\\001\\001\\..."
pg_restore: [archiver (db)] error returned by PQendcopy

What am I missing?

Thanks!

- DAP

------------------------------------------------------------------------
----------
David Parker Tazz Networks (401) 709-5130

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-06-22 21:39:00 Re: Vacuum advice
Previous Message Tom Lane 2005-06-22 20:39:15 Re: [HACKERS] [PATCHES] Removing Kerberos 4