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

From Tom Lane
Subject Re: BUG #6461: "-t" deletes primary key
Date
Msg-id 28378.1329498117@sss.pgh.pa.us
Whole thread Raw
In response to BUG #6461: "-t" deletes primary key  (lenka.piyush@gmail.com)
Responses Re: BUG #6461: "-t" deletes primary key
List pgsql-bugs
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.

            regards, tom lane

pgsql-bugs by date:

Previous
From: lenka.piyush@gmail.com
Date:
Subject: BUG #6461: "-t" deletes primary key
Next
From: Tom Lane
Date:
Subject: Re: BUG #6460: routine my_log2 use incorrect data type ?