Re: pg_restore cannot restore index

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Jie Liang <jie(at)stbernard(dot)com>
Cc: "'Jan Wieck'" <JanWieck(at)Yahoo(dot)com>, "'admin(at)postgresql(dot)org'" <admin(at)postgresql(dot)org>, "'pgsql-sql(at)postgresql(dot)org'" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: pg_restore cannot restore index
Date: 2002-07-15 22:23:46
Message-ID: 200207152223.g6FMNki11558@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


I just ran some tests in 7.2.1 and 7.3 and both worked fine. Can I see
the exact error it generates?

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

Jie Liang wrote:
> Same problem, did you test:
> pg_restore --index=aa --dbname=test /bjm/x
> ??????
> I didn't make it work, I may miss someting.
>
> Thanks!
>
>
> Jie Liang
>
>
>
> -----Original Message-----
> From: Bruce Momjian [mailto:pgman(at)candle(dot)pha(dot)pa(dot)us]
> Sent: Saturday, July 13, 2002 7:51 AM
> To: Jie Liang
> Cc: 'Jan Wieck'; 'admin(at)postgresql(dot)org'; 'pgsql-sql(at)postgresql(dot)org'
> Subject: Re: pg_restore cannot restore index
>
>
> Jie Liang wrote:
> > On this point, I'd like to ask:
> > 1. where I can download this new version?
> > 2. does
> > pg_restore --index=aa --dbname=test /bjm/x
> > works also???
>
> OK, the attached patch should allow -I to work in 7.2.X. This will all
> be fixed in 7.3.
>
> > Because
> > pg_restore --table=mytable --dbname=mydb mydumpfile
> > doesn't work!
>
> Is this a different problem? --table doesn't work either?
>
> --
> Bruce Momjian | http://candle.pha.pa.us
> pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
> + If your life is a hard drive, | 830 Blythe Avenue
> + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Peter Eisentraut 2002-07-15 22:54:36 Re: [SQL] Seeding
Previous Message Josh Berkus 2002-07-15 21:01:38 Re: Sorry..