Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 6A11D73FD6D for ; Sat, 9 Jun 2012 19:14:19 -0300 (ADT) Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SdTvF-0003co-E0 for pgsql-bugs@postgresql.org; Sat, 09 Jun 2012 22:14:18 +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 q59ME2ja005281; Sat, 9 Jun 2012 18:14:03 -0400 (EDT) From: Tom Lane To: phb.emaj@free.fr cc: pgsql-bugs@postgresql.org Subject: Re: BUG #6683: dropping a table with a serial column from an extension needs to explicitely drop the associated seq In-reply-to: References: Comments: In-reply-to phb.emaj@free.fr message dated "Sat, 09 Jun 2012 07:06:35 -0000" Date: Sat, 09 Jun 2012 18:14:02 -0400 Message-ID: <5280.1339280042@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201206/83 X-Sequence-Number: 33310 phb.emaj@free.fr writes: > When a table having a seial column has been created by a CREATE EXTENSION, > and when this table is later dropped from the extension, the associated > sequence must be also explicitely dropped from the extension. This doesn't really seem like a bug to me. The sequence is a somewhat independent object. regards, tom lane