Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 4A9776326AB for ; Wed, 1 Sep 2010 23:56:22 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 83951-08 for ; Thu, 2 Sep 2010 02:56:15 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from oproxy1-pub.bluehost.com (oproxy1-pub.bluehost.com [66.147.249.253]) by mail.postgresql.org (Postfix) with SMTP id C6D35632460 for ; Wed, 1 Sep 2010 23:56:14 -0300 (ADT) Received: (qmail 14486 invoked by uid 0); 2 Sep 2010 02:58:02 -0000 Received: from unknown (HELO box498.bluehost.com) (66.147.242.98) by oproxy1.bluehost.com.bluehost.com with SMTP; 2 Sep 2010 02:58:02 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=consistentstate.com; h=Received:From:Organization:To:Subject:Date:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id:X-Identified-User; b=hFSmqNCZ/n+09YwSSP4EBcX/XWBMa9EDF2cVxd7E0sP56c8pEuDrloWIMftmzlkTGAKS0YkRut8PbkNIYJSjLFMqBD+ZHkamLgQaA2P2Us8pm7vykboF1wsA4SymM91B; Received: from c-75-71-23-162.hsd1.co.comcast.net ([75.71.23.162] helo=[192.168.1.61]) by box498.bluehost.com with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OqzyE-0007mn-EM; Wed, 01 Sep 2010 20:56:10 -0600 From: Kevin Kempter Organization: Consistent State To: pgsql-admin@postgresql.org Subject: dropping constraints Date: Wed, 1 Sep 2010 20:58:05 -0600 User-Agent: KMail/1.9.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201009012058.05142.cs_dba@consistentstate.com> X-Identified-User: {3049:box498.bluehost.com:consist3:consistentstate.com} {sentby:smtp auth 75.71.23.162 authed with kevink+consistentstate.com} X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201009/6 X-Sequence-Number: 35550 Hi All; we have a few not null constraints we want to drop on very large tables. Unfortunately the drop's are taking hours. Is there a way to drop a not null constraint via the system catalogs? Thanks in advance