From: scott.marlowe <scott.marlowe@ihs.com>
To: angelo.rigo@globo.com
Cc: pgsql-php@postgresql.org
Subject: Re: off topic rollback
Date: Thu, 8 Aug 2002 13:31:02 -0600 (MDT)
Message-ID: <Pine.LNX.4.33.0208081329440.25530-100000@css120.ihs.com> (raw)
In-Reply-To: <3D3EEC5F0004A36D@riosf05.globoi.com>
On Thu, 8 Aug 2002 angelo.rigo@globo.com wrote:
> sorry for this off topic
>
> but someone ask me: if i do a invalid query in the middle of a transaction
> i need to do a rollback .
Basically, in PHP, just about any error will cause the current transaction
to fail and rollback automatically and completely. You don't have to
clean up the mess, as it's already cleaned up for you.
Then you can just try running the transaction again and see if it goes
through.
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: scott.marlowe@ihs.com, angelo.rigo@globo.com
Subject: Re: off topic rollback
In-Reply-To: <Pine.LNX.4.33.0208081329440.25530-100000@css120.ihs.com>
References: <3D3EEC5F0004A36D@riosf05.globoi.com> <Pine.LNX.4.33.0208081329440.25530-100000@css120.ihs.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