note 82487 added to function.pg-get-result

From: Date: Sun, 13 Apr 2008 14:40:09 +0000
Subject: note 82487 added to function.pg-get-result
Groups: php.notes 
Request: Send a blank email to php-notes+get-138265@lists.php.net to get a copy of this message
It would be great to have possibility of executing query without taking care of results, for example some updates or inserts. Now we can use async function to send query, but PHP expects to get results from this, so next time we execute sync pg_query it gives this error: "Found resuts on this connection. Use pg_get_result() to get these results first" Or maybe there is a workaround to fast clean results of async (or all) queries in queue? ---- Server IP: 82.177.164.100 Probable Submitter: 85.222.9.113 ---- Manual Page -- http://www.php.net/manual/en/function.pg-get-result.php Edit -- https://master.php.net/note/edit/82487 Del: integrated -- https://master.php.net/note/delete/82487/integrated Del: useless -- https://master.php.net/note/delete/82487/useless Del: bad code -- https://master.php.net/note/delete/82487/bad+code Del: spam -- https://master.php.net/note/delete/82487/spam Del: non-english -- https://master.php.net/note/delete/82487/non-english Del: in docs -- https://master.php.net/note/delete/82487/in+docs Del: other reasons-- https://master.php.net/note/delete/82487 Reject -- https://master.php.net/note/reject/82487 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#138265) next »