Re: Nested Transactions, Abort All

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Nested Transactions, Abort All
Дата
Msg-id 1089506542.9891.2.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: Nested Transactions, Abort All  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: Nested Transactions, Abort All
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Nested Transactions, Abort All
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: Status report