Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 816D117BEC3 for ; Sun, 19 Feb 2012 07:25:24 -0400 (AST) Received: from mail.cybertec.at ([87.118.110.48]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Rz4tN-0005rA-8E for pgsql-bugs@postgresql.org; Sun, 19 Feb 2012 11:25:23 +0000 Received: from localhost.localdomain (host-87-242-59-39.prtelecom.hu [87.242.59.39]) by mail.cybertec.at (Postfix) with ESMTPSA id DA6C35FC1FB; Sun, 19 Feb 2012 12:24:49 +0100 (CET) Message-ID: <4F40DC12.5050300@cybertec.at> Date: Sun, 19 Feb 2012 12:25:06 +0100 From: Boszormenyi Zoltan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120209 Thunderbird/10.0.1 MIME-Version: 1.0 To: Peter Eisentraut CC: Tom Lane , lenka.piyush@gmail.com, pgsql-bugs@postgresql.org Subject: Re: BUG #6461: "-t" deletes primary key References: <28378.1329498117@sss.pgh.pa.us> <1329640232.13241.1.camel@vanquo.pezone.net> In-Reply-To: <1329640232.13241.1.camel@vanquo.pezone.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201202/140 X-Sequence-Number: 32483 2012-02-19 09:30 keltez=C3=A9ssel, Peter Eisentraut =C3=ADrta: > 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...=20 >> This is not a bug. -t selects the table only, not associated indexes. The associated sequence !=3D indexes on the same table, but yes, it's a l= ittle annoying sometimes. > But from a user's perspective, that behavior seems kind of useless. > > --=20 ---------------------------------- Zolt=C3=A1n B=C3=B6sz=C3=B6rm=C3=A9nyi Cybertec Sch=C3=B6nig & Sch=C3=B6nig GmbH Gr=C3=B6hrm=C3=BChlgasse 26 A-2700 Wiener Neustadt, Austria Web: http://www.postgresql-support.de http://www.postgresql.at/