Search Postgresql Archives

Re: in failed sql transaction

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

 



Thanks a lot for the pointer.... This is exactly what I have been looking for.

<from_docs>
The on_error_rollback-on mode works by issuing an implicit SAVEPOINT for you, just before each command that is in a transaction block, and rolls back to the savepoint on error.
</from_docs>



On 9/26/06, Tom Lane <tgl@xxxxxxxxxxxxx> wrote:
Ralf Wiebicke <ralf.wiebicke@xxxxxxxxxx> writes:
> I finally used savepoints to get what I want.
> However I don't like this very much.

Have you experimented with psql's ON_ERROR_ROLLBACK setting?

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match



--
gurjeet@xxxxxxxxxxxxxxxx
singh.gurjeet@{ gmail | hotmail | yahoo }.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux