note 112626 added to pdo.prepare

From: Date: Fri, 05 Jul 2013 20:05:00 +0000
Subject: note 112626 added to pdo.prepare
Groups: php.notes 
Request: Send a blank email to php-notes+get-195471@lists.php.net to get a copy of this message
Note that for Postgres, even though Postgres does support prepared statements, PHP's PDO driver NEVER sends the prepared statement to the Postgres server in advance of the call to PDO::execute(). Therefore, PDO::prepare() will never throw an error for things like faulty SQL syntax. It also means the server will not parse and plan the SQL until the first time PDO::execute() is called, which may or may not adversely affect your optimization plans. ---- Server IP: 192.41.42.26 Probable Submitter: 67.6.85.109 ---- Manual Page -- http://php.net/manual/en/pdo.prepare.php Edit -- https://master.php.net/note/edit/112626 Del: integrated -- https://master.php.net/note/delete/112626/integrated Del: useless -- https://master.php.net/note/delete/112626/useless Del: bad code -- https://master.php.net/note/delete/112626/bad+code Del: spam -- https://master.php.net/note/delete/112626/spam Del: non-english -- https://master.php.net/note/delete/112626/non-english Del: in docs -- https://master.php.net/note/delete/112626/in+docs Del: other reasons-- https://master.php.net/note/delete/112626 Reject -- https://master.php.net/note/reject/112626 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#195471) next »