Nested Transactions
| От | cbroussard@liquiddatainc.com (Chris) |
|---|---|
| Тема | Nested Transactions |
| Дата | |
| Msg-id | 89b6b185.0203072312.a830c8d@posting.google.com обсуждение исходный текст |
| Ответы |
Re: Nested Transactions
|
| Список | pgsql-general |
i'm trying to accomplish the following task:
begin transaction;
begin work;
create table xyz(
id int
);
commit work;
select * from xyz;
rollback transaction;
select * from xyz; // should say database object doesn't exist
however i'm failing to be able to do this?? is there a specific reason?
I know in MSSQL you can say:
begin transaction
begin transaction test
create table xyz(
id [int]
);
select * from xyz
commit transaction test
rollback transaction
select * from xyz // database object doesn't exist
Is there an equivalent?
TIA
В списке pgsql-general по дате отправления: