Search Postgresql Archives

Re: "A block containing an EXCEPTION clause is significantly more expensive to enter and exit than a block without one"

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

 




> On Jun 12, 2022, at 23:07, Pavel Stehule <pavel.stehule@xxxxxxxxx> wrote:
> The lazy implementation theoretically can be possible, but why?

Isn't one of the reasons for the savepoint (in fact, the principal reason) to reset the connection back to non-error state so that execution can continue?  In that case, it really does need to create the savepoint at the start of the block, regardless of what's in it, since any statement can raise an error.





[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 Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux