RE: pg_dumplo, thanks :) (fwd) - Mailing list pgsql-hackers

From Karel Zak
Subject RE: pg_dumplo, thanks :) (fwd)
Date
Msg-id Pine.LNX.3.96.1000406182254.474C-100000@ara.zf.jcu.cz
Whole thread Raw
In response to pg_dumplo, thanks :) (fwd)  (Karel Zak <zakkr@zf.jcu.cz>)
Responses RE: pg_dumplo, thanks :) (fwd)  (Don Baccus <dhogaza@pacifier.com>)
List pgsql-hackers
On Thu, 6 Apr 2000, Peter Mount wrote:

> In the past I had thought of writing something similar as an example for
> JDBC (dump the LO's into a zip file). The thing I couldn't fathom (and
> now I'm saying this, it's probably a simple thing to do), was the
> restore. How do you create an lo with a specific oid?
Very good question. IMHO is not method (in standard API) how create LO with 
a specific oid. The pg_dumplo during LO-dump import rewrite (UPDATE) your old 
oid in defined column. Yes, you must not use LO's oid as join key between 
tables or save LO's oid to the others columns than you defined in pg_dumplo
command line.
The TOAST is deliverance from this limitation.
                    Karel




pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: Book and TEMP vs. TEMPORARY
Next
From: Bruce Momjian
Date:
Subject: Re: Book and TEMP vs. TEMPORARY