note 49439 added to function.pg-get-result
| From: | william at 25thandClement dot com | Date: | Thu, 27 Jan 2005 23:03:47 +0000 |
| Subject: | note 49439 added to function.pg-get-result | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-84093@lists.php.net to get a copy of this message | ||
There is no way to poll/wait for a notification to come in. You either have to enter a busy loop or
sleep. Both options are horrible. It would be nice for PHP to provide access to PQsocket so one
could select() on the socket connection. This is how it's done from C or Perl.
----
Manual Page -- http://www.php.net/manual/en/function.pg-get-result.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+49439
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49439&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49439&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49439&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49439&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49439&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+49439&report=yes
Search -- http://master.php.net/manage/user-notes.php