From: Jasen Betts <jasen@xnet.co.nz>
To: pgsql-php@postgresql.org
Subject: Re: Begin block
Date: 2 Jul 2009 09:13:05 GMT
Message-ID: <h2htn1$2om$2@reversiblemaps.ath.cx> (raw)
References: <2A0AB159-CE44-4824-A77E-12BE538D7C77@indiana.edu>
On 2009-07-01, Carol Walter <walterc@indiana.edu> wrote:
> Hello,
>
> I'm very much a Postgres PHP novice. I have a number of queries that
> need to be run as a single transaction. One set of those will only be
> run some of the time, but other times will need to be imbedded in
> another block. Can I imbed a begin/commit inside another begin/commit?
No, but perhaps you can fake it using savepoints.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: jasen@xnet.co.nz
Subject: Re: Begin block
In-Reply-To: <h2htn1$2om$2@reversiblemaps.ath.cx>
References: <2A0AB159-CE44-4824-A77E-12BE538D7C77@indiana.edu> <h2htn1$2om$2@reversiblemaps.ath.cx>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox