From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: juanmime@ono.com
Cc: pgsql-admin@postgresql.org
Subject: Re: Asunto: Re: Problems restoring a DB with oids
Date: Sat, 10 Jul 2004 23:05:49 -0400 (EDT)
Message-ID: <200407110305.i6B35n824252@candle.pha.pa.us> (raw)
In-Reply-To: <2983.1088005839@sss.pgh.pa.us>
Was there ever a resolution to this?
---------------------------------------------------------------------------
Tom Lane wrote:
> juanmime@ono.com writes:
> > Here is the solution to the problem:
> > First: We have to restore (only) the structure (schema) of the database
> > pg_restore -Ft -v -s db.tar -d database_name -U postgres -S postgres --disable-triggers
> > Second: Restore the datas
> > pg_restore -Ft -v -a db.tar -d database_name -U postgres -S postgres --disable-triggers
>
> [ scratches head... ] Definitely seems that there is a bug in there
> somewhere, if you have to do it that way. I'll take a look later ...
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
> joining column's datatypes do not match
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
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: pgman@candle.pha.pa.us, tgl@sss.pgh.pa.us, juanmime@ono.com
Subject: Re: Asunto: Re: Problems restoring a DB with oids
In-Reply-To: <200407110305.i6B35n824252@candle.pha.pa.us>
References: <2983.1088005839@sss.pgh.pa.us> <200407110305.i6B35n824252@candle.pha.pa.us>
* 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