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: 20000227022951.31198.qmail@paradise.duluoz.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

All-

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?

-mike

--

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 http://devel.duluoz.net/pubkey.asc
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

Responses

Browse pgsql-sql by date

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