X-Original-To: pgsql-general-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id C10E19FA506 for ; Fri, 30 Jun 2006 23:31:39 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 98900-06 for ; Fri, 30 Jun 2006 23:31:34 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from eastrmmtao03.cox.net (eastrmmtao03.cox.net [68.230.240.36]) by postgresql.org (Postfix) with ESMTP id 9ED849FA612 for ; Fri, 30 Jun 2006 23:31:34 -0300 (ADT) Received: from haggis.homelan ([70.171.104.122]) by eastrmmtao03.cox.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20060701023132.PSC23863.eastrmmtao03.cox.net@haggis.homelan> for ; Fri, 30 Jun 2006 22:31:32 -0400 Received: by haggis.homelan (Postfix, from userid 1002) id A711A1C5546; Fri, 30 Jun 2006 21:31:32 -0500 (CDT) Received: from [192.168.1.10] (haggis.homelan [192.168.1.10]) by haggis.homelan (Postfix) with ESMTP id CC1DD2409BE for ; Fri, 30 Jun 2006 21:31:29 -0500 (CDT) Message-ID: <44A5DE81.8080309@cox.net> Date: Fri, 30 Jun 2006 21:31:29 -0500 From: Ron Johnson User-Agent: Thunderbird 1.5.0.4 (X11/20060619) MIME-Version: 1.0 To: pgsql-general@postgresql.org Subject: Re: Notes on converting from MySQL 5.0.x to PostgreSQL References: <1151680333.13129.55.camel@state.g2switchworks.com> <44A5418F.8040901@cox.net> <60odwauy1p.fsf@dba2.int.libertyrms.com> In-Reply-To: <60odwauy1p.fsf@dba2.int.libertyrms.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/1252 X-Sequence-Number: 97624 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chris Browne wrote: > ron.l.johnson@cox.net (Ron Johnson) writes: > >> Scott Marlowe wrote: >> [snip] >>> However, the more interesting thing here, is that every >>> statement, including DDL is transactable, except for a couple of >>> big odd ones, like create database. So, in postgresql, you can do: >>> >>> begin; >>> create table xyz... >>> alter table abc... >>> insert into abc select * from iii >>> update iii...; >>> drop table iii; >>> (oops, I messed up something) >>> rollback; >> But isn't that what it means to be "transactional"? Or am I spoiled >> by my "big, expensive enterprise database"? > > DDL commonly hasn't been "able to be rolled back," even in "big, > expensive" databases... I guess I'm just fortunate... - -- Ron Johnson, Jr. Jefferson LA USA Is "common sense" really valid? For example, it is "common sense" to white-power racists that whites are superior to blacks, and that those with brown skins are mud people. However, that "common sense" is obviously wrong. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEpd6BS9HxQb37XmcRAgu8AKCqp6KxNYoa0tIcmbglG8XXSzgXpQCgjDLv vYkFNzwXF1K+b9ZNK6Svr64= =mW9L -----END PGP SIGNATURE-----