note 101372 added to function.pg-send-query
| From: | moodsey211 at gmail dot com | Date: | Mon, 13 Dec 2010 09:48:25 +0000 |
| Subject: | note 101372 added to function.pg-send-query | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-174840@lists.php.net to get a copy of this message | ||
pg_send_query would not stop your script from executing but it would stop the script from exiting.
Example:
$con = pg_connect('dbname=payroll');
pg_send_query('SELECT process_payroll()'); // Where process_payroll is a super long
process
You would still need to wait for the query to finish before the any display would be sent to the
browser. And surprisingly, unlike pg_query this script would not generate the Maximum execution time
error.
----
Server IP: 69.147.83.197
Probable Submitter: 222.127.224.126
----
Manual Page -- http://www.php.net/manual/en/function.pg-send-query.php
Edit -- https://master.php.net/note/edit/101372
Del: integrated -- https://master.php.net/note/delete/101372/integrated
Del: useless -- https://master.php.net/note/delete/101372/useless
Del: bad code -- https://master.php.net/note/delete/101372/bad+code
Del: spam -- https://master.php.net/note/delete/101372/spam
Del: non-english -- https://master.php.net/note/delete/101372/non-english
Del: in docs -- https://master.php.net/note/delete/101372/in+docs
Del: other reasons-- https://master.php.net/note/delete/101372
Reject -- https://master.php.net/note/reject/101372
Search -- https://master.php.net/manage/user-notes.php