Re: Begin block - Mailing list pgsql-php

From Jasen Betts
Subject Re: Begin block
Date
Msg-id h2htn1$2om$2@reversiblemaps.ath.cx
Whole thread Raw
In response to Begin block  (Carol Walter <walterc@indiana.edu>)
List pgsql-php
On 2009-07-01, Carol Walter <walterc@indiana.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.

pgsql-php by date:

Previous
From: Raymond O'Donnell
Date:
Subject: Re: Begin block
Next
From: "Hajek, Nick"
Date:
Subject: Re: Begin block