Re: BUG #6461: "-t" deletes primary key

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: lenka(dot)piyush(at)gmail(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6461: "-t" deletes primary key
Date: 2012-02-17 17:01:57
Message-ID: 28378.1329498117@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

lenka(dot)piyush(at)gmail(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2012-02-17 22:27:04 Re: BUG #6460: routine my_log2 use incorrect data type ?
Previous Message lenka.piyush 2012-02-17 10:41:00 BUG #6461: "-t" deletes primary key