From: Hajek, Nick <Nick.Hajek@Vishay.com>
To: pgsql-php@postgresql.org
Subject: Re: Begin block
Date: Wed, 01 Jul 2009 13:02:02 -0500
Message-ID: <AFD16ED07E37C64D963DA24840AA31F2063B8AD7@EVSCO01.na.vishayint.com> (raw)
In-Reply-To: <2A0AB159-CE44-4824-A77E-12BE538D7C77@indiana.edu>
> 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?
>
Nested transactions are not allowed in Postgresql you must use
savepoints.
Nick
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: Nick.Hajek@Vishay.com
Subject: Re: Begin block
In-Reply-To: <AFD16ED07E37C64D963DA24840AA31F2063B8AD7@EVSCO01.na.vishayint.com>
References: <2A0AB159-CE44-4824-A77E-12BE538D7C77@indiana.edu> <AFD16ED07E37C64D963DA24840AA31F2063B8AD7@EVSCO01.na.vishayint.com>
* 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