pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Boszormenyi Zoltan <zb@cybertec.at>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: 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 12:25:06 +0100
Message-ID: <4F40DC12.5050300@cybertec.at> (raw)
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>

2012-02-19 09:30 keltezéssel, Peter Eisentraut írta:
> 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.

The associated sequence != indexes on the same table, but yes, it's a little annoying
sometimes.

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


-- 
----------------------------------
Zoltán Böszörményi
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt, Austria
Web: http://www.postgresql-support.de
     http://www.postgresql.at/




view thread (5+ messages)  latest in thread

Message-ID: <4F40DC12.5050300@cybertec.at>
Permalink:  ../4F40DC12.5050300@cybertec.at/
Also on:    postgresql.org/message-id/4F40DC12.5050300@cybertec.at

 · 

reply

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: zb@cybertec.at, peter_e@gmx.net, tgl@sss.pgh.pa.us, lenka.piyush@gmail.com
  Subject: Re: BUG #6461: "-t" deletes primary key
  In-Reply-To: <4F40DC12.5050300@cybertec.at>
  References: <E1RyLFM-0007Oc-Sk@wrigleys.postgresql.org> <28378.1329498117@sss.pgh.pa.us> <1329640232.13241.1.camel@vanquo.pezone.net> <4F40DC12.5050300@cybertec.at>

* 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