Re: Nested Transactions, Abort All

From: "Scott Marlowe" <smarlowe(at)qwest(dot)net>
To: josh(at)agliodbs(dot)com
Cc: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>, "Alvaro Herrera" <alvherre(at)dcc(dot)uchile(dot)cl>, "Oliver Jowett" <oliver(at)opencloud(dot)com>, "Dennis Bjorklund" <db(at)zigo(dot)dhs(dot)org>, "Pavel Stehule" <stehule(at)kix(dot)fsv(dot)cvut(dot)cz>, "Zeugswetter Andreas SB SD" <ZeugswetterA(at)spardat(dot)at>, "Andreas Pflug" <pgadmin(at)pse-consulting(dot)de>, "Simon Riggs" <simon(at)2ndquadrant(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Nested Transactions, Abort All
Date: 2004-07-11 00:42:22
Message-ID: 1089506542.9891.2.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2004-07-11 01:45:29 Re: Status report
Previous Message Bruce Momjian 2004-07-11 00:25:16 Re: Nested Transactions, Abort All