Re: Begin block

Jasen Betts <[email protected]> 2 Jul 2009 09:13:05 GMT
Newsgroups gmane.comp.db.postgresql.php
Organization Dis (not Dat) Organisation
Message-ID <[email protected]>
On 2009-07-01, Carol Walter <[email protected]> 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.

-- 
Sent via pgsql-php mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-php