X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 62377D1B507 for ; Thu, 18 Sep 2003 15:34:41 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 90350-04 for ; Thu, 18 Sep 2003 12:34:09 -0300 (ADT) Received: from dukas.upc.es (dukas.upc.es [147.83.2.62]) by svr1.postgresql.org (Postfix) with ESMTP id 4C8D5D1B4E8 for ; Thu, 18 Sep 2003 12:34:08 -0300 (ADT) Received: from mail.fib.upc.es (mail.fib.upc.es [147.83.41.105]) by dukas.upc.es (8.12.1/8.12.1) with ESMTP id h8IFY5cT017539 for ; Thu, 18 Sep 2003 17:34:06 +0200 (MET DST) Received: from est.fib.upc.es (c6s303pc25.fib.upc.es [147.83.148.134]) by mail.fib.upc.es (Postfix) with ESMTP id B5F5CDE41 for ; Thu, 18 Sep 2003 17:34:02 +0200 (MEST) Message-ID: <3F69D06C.272F3B7@est.fib.upc.es> Date: Thu, 18 Sep 2003 17:34:04 +0200 From: Alumne FIB - GUSTAVO PEREZ QUEROL Organization: Facultat =?iso-8859-1?Q?d=27Inform=E0tica?= de Barcelona X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en,es,ca MIME-Version: 1.0 Cc: pgsql-admin@postgresql.org Subject: Re: dump among different versions of postgreSQL References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/320 X-Sequence-Number: 10408 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