[PATCH] pgsql async query functions
| From: | Yasuo Ohgaki | Date: | Sat, 03 Nov 2001 18:21:50 +0000 |
| Subject: | [PATCH] pgsql async query functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-69577@lists.php.net to get a copy of this message | ||
I really need async query functions for pgsql, so I wrote it.
All functions are *simple* libpq wrapper. This patch is safe to
apply.
Async query can be very useful to improve performance, since
pg_sendquery() returns immediately, then user can use
pg_getresult() to get result later. (Especially when user have
multiple db server)
Missing feature is that raise warning or prohibit async query on
persistent connection, since it can cause problems. I haven't
implemented this, yet.
Could anyone apply this patch? Thank you.
--
Yasuo Ohgaki