X-Original-To: pgsql-sql@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 96A9E4760CC for ; Sat, 26 Apr 2003 13:16:21 -0400 (EDT) Received: from trade-india.com (ns5.trade-india.com [66.234.10.13]) by postgresql.org (Postfix) with SMTP id 85919475D0F for ; Sat, 26 Apr 2003 13:16:20 -0400 (EDT) Received: (qmail 5886 invoked by uid 505); 26 Apr 2003 17:16:20 -0000 Received: from rmallah@trade-india.com by ns5.trade-india.com by uid 502 with qmail-scanner-1.15 (uvscan: v4.1.60/v4171. Clear:. Processed in 1.81175 secs); 26 Apr 2003 17:16:20 -0000 Received: from unknown (HELO ?219.65.253.167?) (219.65.253.167) by ns5.trade-india.com with SMTP; 26 Apr 2003 17:16:18 -0000 Date: Sat, 26 Apr 2003 22:46:11 +0530 (IST) From: Rajesh Kumar Mallah X-X-Sender: To: Forest Wilkinson Cc: Subject: Re: create/alter/drop within transactions? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-31.7 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REPLY_WITH_QUOTES,USER_AGENT_PINE autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/456 X-Sequence-Number: 13157 On Fri, 25 Apr 2003, Forest Wilkinson wrote: Yes it does. As explain by Tom , TRUNCATE IS the only command which cannot be done inside a transaction. even that restriction will go away in 7.4 version Regds Mallah > Sorry if this is a FAQ, but I didn't find a definitive and recent > answer in the list archives or the postgres docs. Do transactions > work on create / alter / drop statements? In other words, can I > choose to commit or rollback after a bunch of schema changes? > > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org >