Re: Begin block - Mailing list pgsql-php

From Hajek, Nick
Subject Re: Begin block
Date
Msg-id AFD16ED07E37C64D963DA24840AA31F2063B8AD7@EVSCO01.na.vishayint.com
Whole thread Raw
In response to Begin block  (Carol Walter <walterc@indiana.edu>)
List pgsql-php
> 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?
>


Nested transactions are not allowed in Postgresql you must use
savepoints.

Nick

pgsql-php by date:

Previous
From: Jasen Betts
Date:
Subject: Re: Begin block
Next
From: Carol Walter
Date:
Subject: pg_query_params