From: | Tommy Phillips <tommy_pelican(at)yahoo(dot)com> |
---|---|
To: | Stefan Sturm <mailling(at)anrath(dot)info>, pgsql-php(at)postgresql(dot)org |
Subject: | Re: Transactions and Savepoints |
Date: | 2005-02-08 14:33:39 |
Message-ID: | 20050208143339.31402.qmail@web53509.mail.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-php |
Stefan-
We will need more information:
What DBMS are you using, what version and what version
of PHP, for starters.
--- Stefan Sturm <mailling(at)anrath(dot)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(at)acm(dot)org
From | Date | Subject | |
---|---|---|---|
Next Message | Stefan Sturm | 2005-02-08 19:19:55 | Re: Transactions and Savepoints |
Previous Message | Stefan Sturm | 2005-02-08 13:32:26 | Transactions and Savepoints |