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 8BB609FA5E9 for ; Fri, 30 Jun 2006 12:22:15 -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 40824-05 for ; Fri, 30 Jun 2006 12:22:01 -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 87FD09FA163 for ; Fri, 30 Jun 2006 12:21:59 -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 <20060630152155.XUPS23863.eastrmmtao03.cox.net@haggis.homelan> for ; Fri, 30 Jun 2006 11:21:55 -0400 Received: by haggis.homelan (Postfix, from userid 1002) id AAA862409C4; Fri, 30 Jun 2006 10:21:55 -0500 (CDT) Received: from [192.168.1.10] (haggis.homelan [192.168.1.10]) by haggis.homelan (Postfix) with ESMTP id D3B902409C0 for ; Fri, 30 Jun 2006 10:21:51 -0500 (CDT) Message-ID: <44A5418F.8040901@cox.net> Date: Fri, 30 Jun 2006 10:21:51 -0500 From: Ron Johnson User-Agent: Thunderbird 1.5.0.4 (X11/20060619) MIME-Version: 1.0 To: pgsql general Subject: Re: Notes on converting from MySQL 5.0.x to PostgreSQL References: <1151680333.13129.55.camel@state.g2switchworks.com> In-Reply-To: <1151680333.13129.55.camel@state.g2switchworks.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/1218 X-Sequence-Number: 97590 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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"? - -- 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 iD8DBQFEpUGPS9HxQb37XmcRAiJwAJ9/A/N/OgmslveSsX3Xym2QnDQz1gCghPD0 YX882Kv81hzZ4AKjaIVKHg8= =Gsml -----END PGP SIGNATURE-----