From: Tommy Phillips <tommy_pelican@yahoo.com>
To: Stefan Sturm <mailling@anrath.info>
To: pgsql-php@postgresql.org
Subject: Re: Transactions and Savepoints
Date: Tue, 8 Feb 2005 06:33:39 -0800 (PST)
Message-ID: <20050208143339.31402.qmail@web53509.mail.yahoo.com> (raw)
In-Reply-To: <4208BF6A.9040204@anrath.info>
Stefan-
We will need more information:
What DBMS are you using, what version and what version
of PHP, for starters.
--- Stefan Sturm <mailling@anrath.info> wrote:
> Hello,
>
> I have a problem with savepoints.
>
> I have a function which does some DB changed. This
> changes have to be in
> a single Transaction. This function is now called
> in two different
> ways. Once within a transaction and once not in a
> transaction. But how
> can i check if I am within a transaction, so I can
> start a new
> transaction or set a savepoint.
>
> Is there a way to check this?
>
> Thanks and Greetings,
>
> Stefan Sturm
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
>
=====
---------------------------
Tommy Phillips
303-427-8456 (Home)
303-981-4310 (Cell)
tommyp@acm.org
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: tommy_pelican@yahoo.com, mailling@anrath.info
Subject: Re: Transactions and Savepoints
In-Reply-To: <20050208143339.31402.qmail@web53509.mail.yahoo.com>
References: <4208BF6A.9040204@anrath.info> <20050208143339.31402.qmail@web53509.mail.yahoo.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