Received: from mailex.hammerdeals.de (mail.hammerdeals.de [195.253.14.163]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f5LHZOa84295 for ; Thu, 21 Jun 2001 13:35:24 -0400 (EDT) (envelope-from volkmar@hammerdeals.de) Received: from gator.hammerdeals.de (gator.hammerdeals.de [195.253.8.126]) by mailex.hammerdeals.de (8.11.2/8.9.3v3) with ESMTP id f5LIXPZ24104 for ; Thu, 21 Jun 2001 20:33:25 +0200 Received: (from volkmar@localhost) by gator.hammerdeals.de (8.9.3/8.9.3v1) id TAA14345 for pgsql-admin@postgresql.org; Thu, 21 Jun 2001 19:45:41 +0200 From: Volkmar Wieners Message-Id: <200106211745.TAA14345@gator.hammerdeals.de> Subject: Lost oid restoring dump with blobs To: pgsql-admin@postgresql.org Date: Thu, 21 Jun 2001 19:45:41 +0200 (MEST) X-Mailer: ELM [version 2.4ME+ PL47 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archive-Number: 200106/152 X-Sequence-Number: 1719 Hi! I've a restoring problem with a pg-db contains images stored in blobs: I want to copy the whole content of the db with a dump-file from a solaris to a linux server (both postgresql 7.1.2). While inserting the dump (created by pg_dump) pg_restore changes all "oids" of the blobs into new ones. So I've no access to the blobs anymore because the old "oids" stored in the tables. Is there a chance to tell pg_restore: "leave the original oids untouched"? I've alredy tried tar or archiver format (-Ft and -Fc), -o and -N in many combination without success. Thanx for any advice! cu, Volkmar -- Volkmar Wieners volkmar.wieners@gmx.de hammerdeals.de AG http://www.wieners.net Dortmund +49-231-51980-25 (Fax -11)