Re: BUG #6461: "-t" deletes primary key - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: BUG #6461: "-t" deletes primary key
Date
Msg-id 1329640232.13241.1.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: BUG #6461: "-t" deletes primary key  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #6461: "-t" deletes primary key
Re: BUG #6461: "-t" deletes primary key
List pgsql-bugs
On fre, 2012-02-17 at 12:01 -0500, Tom Lane wrote:
> lenka.piyush@gmail.com writes:
> > when i restore a particular table using pg_restore (using option "-t") it
> > doesn't restore my primary key...
>
> This is not a bug.  -t selects the table only, not associated indexes.

But from a user's perspective, that behavior seems kind of useless.

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python
Next
From: Boszormenyi Zoltan
Date:
Subject: Re: BUG #6461: "-t" deletes primary key