Re: Transactional DDL - Mailing list pgsql-general

From Tom Lane
Subject Re: Transactional DDL
Date
Msg-id 28530.1180827551@sss.pgh.pa.us
Whole thread Raw
In response to Re: Transactional DDL  ("Jaime Casanova" <systemguards@gmail.com>)
Responses Re: Transactional DDL  (PFC <lists@peufeu.com>)
List pgsql-general
"Jaime Casanova" <systemguards@gmail.com> writes:
> Tom's example seems to show that mysql inserts a commit immidiatelly
> after a DDL but this one example shows the thing is worse than that.

Actually, I think their behavior is just "DDL issues a COMMIT", so that
after that you are out of the transaction and the INSERT commits
immediately.  Some experimentation shows that mysql doesn't issue a
warning for rollback-outside-a-transaction, so the lack of any complaint
at the rollback step is just standard mysql-ism.

            regards, tom lane

pgsql-general by date:

Previous
From: "Alexander Staubo"
Date:
Subject: Re: High-availability
Next
From: Madison Kelly
Date:
Subject: Re: High-availability