pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alumne FIB - GUSTAVO PEREZ QUEROL <e7640227@est.fib.upc.es>
Cc: pgsql-admin@postgresql.org
Subject: Re: dump among different versions of postgreSQL
Date: Thu, 18 Sep 2003 17:34:04 +0200
Message-ID: <3F69D06C.272F3B7@est.fib.upc.es> (raw)
References: <CCA5D544B9C87043A280D89CB7EFB8CC0CA37F@NAWECHLKEX03VA.nadsuswe.nads.navy.mil>


  Setting the verbose mode (which usually uses to be very usefull ;) ), showed me something like this while restoring :

         BEGIN, still in transaction (more or less)

  which made me think that the autocommit was disabled. This feature in series 7.3.x is very usefull to me but, as I checked,
in the restore file there are two BEGIN's. That avoided pg_restore to resolve the OID's succesfully.

  Right now, turning the autocommit to true, while restore (and disabling it later), allows me to restore any database.

  Thanks for your interest,

  Gustavo

"Kuhn, Dylan K (4520500D)" wrote:

> I've successfully dumped and restored a database containing large objects with 7.3.3 and previous versions.  I've used the 'tar' archive format something like this:
>
> % pg_dump -F t -b dbwithlos | gzip > dump.tar.gz
> % zcat dump.tar.gz | pg_restore -d restoredbwithlos
>
> Dylan Kuhn




view thread (3+ messages)

Message-ID: <3F69D06C.272F3B7@est.fib.upc.es>
Permalink:  ../3F69D06C.272F3B7@est.fib.upc.es/
Also on:    postgresql.org/message-id/3F69D06C.272F3B7@est.fib.upc.es

 · 

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: e7640227@est.fib.upc.es
  Subject: Re: dump among different versions of postgreSQL
  In-Reply-To: <3F69D06C.272F3B7@est.fib.upc.es>
  References: <CCA5D544B9C87043A280D89CB7EFB8CC0CA37F@NAWECHLKEX03VA.nadsuswe.nads.navy.mil> <3F69D06C.272F3B7@est.fib.upc.es>

* 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