Re: cvs: php-src(PHP_5_3) /ext/pdo_pgsql pgsql_driver.c
| From: | Johannes Schlüter | Date: | Thu, 02 Apr 2009 21:27:28 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_3) /ext/pdo_pgsql pgsql_driver.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-56880@lists.php.net to get a copy of this message | ||
Hi,
On Wed, 2009-04-01 at 16:13 +0000, Pierre-Alain Joye wrote:
> -/* $Id: pgsql_driver.c,v 1.53.2.14.2.9.2.5 2009/03/28 02:58:04 mbeccati Exp $ */
> +/* $Id: pgsql_driver.c,v 1.53.2.14.2.9.2.6 2009/04/01 16:13:33 pajoye Exp $ */
[...]
> +#if HAVE_PQPREPARE
> emulate = 1;
> +#endif
Why is emulation used when prepare exists? Shouldn't it be the other way
round? Or is it just the naming?
Additionally I'm not too excited about changing between emulation and
native prepares depending on the system configuration, the emulation
works quite different from native PS. As the emulation doesn't know much
about special cases in SQL syntax and native PS is a round-trip more.
But I don't know enough about pgsql to judge.
johannes