From: | "paul rivers" <rivers(dot)paul(at)gmail(dot)com> |
---|---|
To: | "'pgsql general'" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Notes on converting from MySQL 5.0.x to PostgreSQL |
Date: | 2006-06-30 15:40:03 |
Message-ID: | 002001c69c5b$75d33210$10d09888@parzifal |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-www |
Out of curiosity, which "big, expensive enterprise database" are you spoiled
by? Many that I support do not allow DDL within an transaction, or if they
allow it, there are many caveats and rules.
-----Original Message-----
From: pgsql-general-owner(at)postgresql(dot)org
[mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of Ron Johnson
Sent: Friday, June 30, 2006 8:22 AM
To: pgsql general
Subject: Re: [GENERAL] Notes on converting from MySQL 5.0.x to PostgreSQL
-----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-----
---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster
From | Date | Subject | |
---|---|---|---|
Next Message | John Sidney-Woollett | 2006-06-30 15:42:54 | Re: limit results to one row per foreign object |
Previous Message | Leif B. Kristensen | 2006-06-30 15:39:22 | Re: Notes on converting from MySQL 5.0.x to PostgreSQL |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-06-30 15:50:47 | Re: Notes on converting from MySQL 5.0.x to PostgreSQL |
Previous Message | Leif B. Kristensen | 2006-06-30 15:39:22 | Re: Notes on converting from MySQL 5.0.x to PostgreSQL |