Skip site navigation (1) Skip section navigation (2)

Nested BEGIN...COMMIT transactions

From: mpg4(at)duluoz(dot)net
To: pgsql-sql(at)postgresql(dot)org
Subject: Nested BEGIN...COMMIT transactions
Date: 2000-02-27 02:29:51
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-sql

   What's the behavior of nested sets of BEGIN ... COMMIT blocks?  I'd
like to call some scripts containing their own their own transaction
blocks inside of of other scripts that have their own transaction
blocks.  Are the blocks nested, or will one COMMIT or ROLLBACK affect
all of my BEGIN's simultaneously?



   I never thought it would end like this,
   dumped because I've got no tits.
   -- Reel Big Fish, "She Has a Girlfriend Now"

GnuPG key available at
Key ID = 1024D/9A256AE5 1999-11-13 Mike Glover <mpg4(at)duluoz(dot)net>
Key fingerprint = EF6E 8BCB 4810 E98C F0FD  4596 367A 32B7 9A25 6AE5


pgsql-sql by date

Next:From: Seth BanksDate: 2000-02-27 07:45:36
Subject: Default sequence values
Previous:From: Tom LaneDate: 2000-02-26 23:14:49
Subject: Re: [SQL] New Optimizer Behaviour In 7.0b1

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group