Re: Asunto: Re: Problems restoring a DB with oids

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: juanmime(at)ono(dot)com, pgsql-admin(at)postgresql(dot)org
Subject: Re: Asunto: Re: Problems restoring a DB with oids
Date: 2004-07-11 03:05:49
Message-ID: 200407110305.i6B35n824252@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


Was there ever a resolution to this?

---------------------------------------------------------------------------

Tom Lane wrote:
> juanmime(at)ono(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Stef 2004-07-12 07:52:03 Re: Bad dumps...
Previous Message Tom Lane 2004-07-10 16:25:13 Re: problems installing postgresql 7.4.2-1