I did a quick test, and I don't see a significant reduction is
performance after the patch.
On 2009-10-26, at 5:16 AM, Matteo Beccati wrote:
Hi Ilia,
Revision: http://svn.php.net/viewvc?view=revision&revision=289924
Log:
- Fixed bug #49985 (pdo_pgsql prepare() re-use previous aborted
transaction).
Bug: http://bugs.php.net/49985 (Open) pdo_pgsql prepare() re-use
previous aborted transaction
I've quickly review the bug report and the fix. I'm not really sure
savepoints are a good idea. I didn't do any benchmark, but my hunch is
that it will be a fairly high performance hit to any query to avoid a
corner case issue. Maybe we can find a better solution that doesn't
impact performance?
Cheers
--
Matteo Beccati
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php