From: Peter Eisentraut <peter_e@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: lenka.piyush@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6461: "-t" deletes primary key
Date: Sun, 19 Feb 2012 10:30:32 +0200
Message-ID: <1329640232.13241.1.camel@vanquo.pezone.net> (raw)
In-Reply-To: <28378.1329498117@sss.pgh.pa.us>
References: <E1RyLFM-0007Oc-Sk@wrigleys.postgresql.org>
<28378.1329498117@sss.pgh.pa.us>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: peter_e@gmx.net, tgl@sss.pgh.pa.us, lenka.piyush@gmail.com
Subject: Re: BUG #6461: "-t" deletes primary key
In-Reply-To: <1329640232.13241.1.camel@vanquo.pezone.net>
References: <E1RyLFM-0007Oc-Sk@wrigleys.postgresql.org> <28378.1329498117@sss.pgh.pa.us> <1329640232.13241.1.camel@vanquo.pezone.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox