note 82487 rejected from function.pg-get-result by nlopess

From: Date: Sun, 13 Apr 2008 14:54:29 +0000
Subject: note 82487 rejected from function.pg-get-result by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-138266@lists.php.net to get a copy of this message
Note Submitter: tomek at lutel dot pl ---- 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?

« previous php.notes (#138266) next »