Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TtLOZ-0000Pz-BT for pgsql-bugs@arkaria.postgresql.org; Thu, 10 Jan 2013 16:54:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TtLOY-0007o3-MB for pgsql-bugs@arkaria.postgresql.org; Thu, 10 Jan 2013 16:54:22 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TtLOY-0007ny-31 for pgsql-bugs@postgresql.org; Thu, 10 Jan 2013 16:54:22 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TtLOX-0002gL-2c for pgsql-bugs@postgresql.org; Thu, 10 Jan 2013 16:54:21 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r0AGsKkS007860; Thu, 10 Jan 2013 11:54:20 -0500 (EST) From: Tom Lane To: =?utf-8?Q?Christiaan_Willemsen?= cc: =?utf-8?Q?pgsql-bugs=40postgresql=2Eorg?= Subject: Re: BUG #7802: Cannot drop table because of dependant sequence, but there is link to sequence In-reply-to: References: Comments: In-reply-to =?utf-8?Q?Christiaan_Willemsen?= message dated "Thu, 10 Jan 2013 17:41:31 +0100" Date: Thu, 10 Jan 2013 11:54:20 -0500 Message-ID: <7859.1357836860@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org =?utf-8?Q?Christiaan_Willemsen?= writes: > Back again ;) I just checked pg_depend, and according to it there is no relation between in de table and the sequence... There is however a relation between the new table and the old sequence (as expected). So this is sill a mistery. Hm, I might have gotten the direction of the link backwards --- if you swap objid and refobjid, do you find an entry linking the sequence to the old table's default? regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs