Re: off topic rollback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, 8 Aug 2002 angelo.rigo@xxxxxxxxx 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.



[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux