pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Volkmar Wieners <volkmar@hammerdeals.de>
To: pgsql-admin@postgresql.org
Subject: Lost oid restoring dump with blobs
Date: Thu, 21 Jun 2001 19:45:41 +0200 (MEST)
Message-ID: <200106211745.TAA14345@gator.hammerdeals.de> (raw)

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)



Message-ID: <200106211745.TAA14345@gator.hammerdeals.de>
Permalink:  ../200106211745.TAA14345@gator.hammerdeals.de/
Also on:    postgresql.org/message-id/200106211745.TAA14345@gator.hammerdeals.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: volkmar@hammerdeals.de
  Subject: Re: Lost oid restoring dump with blobs
  In-Reply-To: <200106211745.TAA14345@gator.hammerdeals.de>
  References: <200106211745.TAA14345@gator.hammerdeals.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox