Re: off topic rollback

Поиск
Список
Период
Сортировка
От scott.marlowe
Тема Re: off topic rollback
Дата
Msg-id Pine.LNX.4.33.0208081329440.25530-100000@css120.ihs.com
обсуждение исходный текст
Ответ на off topic rollback  (angelo.rigo@globo.com)
Список pgsql-php
On Thu, 8 Aug 2002 angelo.rigo@globo.com wrote:

> sorry for this off topic
>
> but someone ask me: if i do a invalid query in the middle of a transaction
> i need to do a rollback .

Basically, in PHP, just about any error will cause the current transaction
to fail and rollback automatically and completely.  You don't have to
clean up the mess, as it's already cleaned up for you.

Then you can just try running the transaction again and see if it goes
through.


В списке pgsql-php по дате отправления:

Предыдущее
От: Chadwick Rolfs
Дата:
Сообщение: Re: PHP + PostgreSQL
Следующее
От: hodges@xprt.net
Дата:
Сообщение: Re: PHP + PostgreSQL