Re: svn: /php/php-src/ branches/PHP_5_2/NEWS branches/PHP_5_2/ext/pdo_pgsql/pgsql_statement.c branches/PHP_5_3/NEWS
branches/PHP_5_3/ext/pdo_pgsql/pgsql_statement.c trunk/ext/pdo_pgsql/pgsql_statement.c
| From: | Ilia Alshanetsky | Date: | Mon, 26 Oct 2009 12:36:23 +0000 |
| Subject: | Re: svn: /php/php-src/ branches/PHP_5_2/NEWS branches/PHP_5_2/ext/pdo_pgsql/pgsql_statement.c branches/PHP_5_3/NEWS branches/PHP_5_3/ext/pdo_pgsql/pgsql_statement.c trunk/ext/pdo_pgsql/pgsql_statement.c |
||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-60768@lists.php.net to get a copy of this message | ||
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 transactionI'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