Search Postgresql Archives

dump/restore bytea fields

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
 

 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux