X-Original-To: pgsql-admin@postgresql.org Received: from mailgw1.syncinc.com (mailgw1.syncinc.com [63.126.54.34]) by postgresql.org (Postfix) with ESMTP id CA92D474E4F for ; Tue, 11 Mar 2003 18:04:19 -0500 (EST) Received: from ascwf14yqi3m2t (h000795bff979.ne.client2.attbi.com [24.62.106.235]) by mailgw1.syncinc.com (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTPA id <0HBL00BLYXE6X6@mailgw1.syncinc.com> for pgsql-admin@postgresql.org; Tue, 11 Mar 2003 18:03:43 -0500 (EST) Date: Tue, 11 Mar 2003 18:06:23 -0500 From: Michael Brusser Subject: How to drop column To: pgsql-admin@postgresql.org Reply-To: michael@synchronicity.com Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal X-Archive-Number: 200303/120 X-Sequence-Number: 7761 Postgres 7.2 does not support 'drop column' One apparent way of handling that seems to create the new table, copy data from the original one, drop original and rename the new table. However original table may have foreign keys and dependencies, so I may not be able to drop it. Is there a clear path to handle this situation? Thank you, Mike.