Re: Nested Transactions

From: Doug McNaught <doug(at)wireboard(dot)com>
To: cbroussard(at)liquiddatainc(dot)com (Chris)
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Nested Transactions
Date: 2002-03-13 18:46:30
Message-ID: m3ofhss3uh.fsf@varsoon.denali.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

cbroussard(at)liquiddatainc(dot)com (Chris) writes:

> 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

PostgreSQL currently doesn't have nested transactions. They have been
discussed for a future version.

-Doug
--
Doug McNaught Wireboard Industries http://www.wireboard.com/

Custom software development, systems and network consulting.
Java PostgreSQL Enhydra Python Zope Perl Apache Linux BSD...

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Doug McNaught 2002-03-13 18:48:37 Re: Query planner problem
Previous Message Bruce Momjian 2002-03-13 18:45:21 Re: missing greatbridge / database session monitor