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 -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php