Re: pdo emulate prepares not working. still getting parse-bind-execute-deallocate in pg log

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: pdo emulate prepares not working. still getting parse-bind-execute-deallocate in pg log

Mark Kirkwood-2
You may want to check your version of Php - your example works fine for
me (i.e setting ATTR_EMULATE_PREPARES => true *stops* the parse, bind,
exec etc) using Php 5.3.6. I cannot recall exactly when I fixed this,
but the 5.2.12 changelog says the fix is there
(https://bugs.php.net/bug.php?id=48764), so later 5.2 and 5.3 versions
should work properly.

Cheers

Mark

--
Sent via pgsql-php mailing list ([hidden email])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-php