Re: Begin block

From: Jasen Betts <jasen(at)xnet(dot)co(dot)nz>
To: pgsql-php(at)postgresql(dot)org
Subject: Re: Begin block
Date: 2009-07-02 09:13:05
Message-ID: h2htn1$2om$2@reversiblemaps.ath.cx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

On 2009-07-01, Carol Walter <walterc(at)indiana(dot)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.

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Carol Walter 2009-07-22 19:12:18 pg_query_params
Previous Message Hajek, Nick 2009-07-01 18:02:02 Re: Begin block