Re: Notes on converting from MySQL 5.0.x to PostgreSQL

From: Ron Johnson <ron(dot)l(dot)johnson(at)cox(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Notes on converting from MySQL 5.0.x to PostgreSQL
Date: 2006-07-01 02:31:29
Message-ID: 44A5DE81.8080309@cox.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-www

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris Browne wrote:
> ron(dot)l(dot)johnson(at)cox(dot)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-----

In response to

Browse pgsql-general by date

  From Date Subject
Next Message howachen 2006-07-01 02:32:31 Re: pgsql vs mysql
Previous Message Jim C. Nasby 2006-07-01 00:30:18 Re: pgsql vs mysql

Browse pgsql-www by date

  From Date Subject
Next Message Tom Lane 2006-07-01 03:26:06 Re: Notes on converting from MySQL 5.0.x to PostgreSQL
Previous Message Jim Nasby 2006-07-01 01:46:10 Problem with conference site