Re: Nested Transactions, Abort All - Mailing list pgsql-hackers

From Scott Marlowe
Subject Re: Nested Transactions, Abort All
Date
Msg-id 1089506542.9891.2.camel@localhost.localdomain
Whole thread Raw
In response to Re: Nested Transactions, Abort All  (Josh Berkus <josh@agliodbs.com>)
Responses Re: Nested Transactions, Abort All  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
On Sat, 2004-07-10 at 15:21, Josh Berkus wrote:
> Bruce,
> 
> > They have no way of reporting a failed query back to the user?  How do
> > people program in those environments?  Right now any failed query aborts
> > the transaction so it seems it would be pretty easy.
> 
> Believe it or not, PHP4 doesn't.   This is one of the reasons why coders in 
> other languages don't consider PHP a "real" programming language; the lack of 
> exception handling.   However, given this limitation we can't really use NTs 
> in PHP4 anyway, so it's sort of a moot point.  Sorry for bringing it up.

Uh, I think it can:

http://www.php.net/manual/en/function.pg-result-error.php





pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Nested Transactions, Abort All
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: Status report