From 6ecd17100ea88095cf3d56e8cdba52b9070287a3 Mon Sep 17 00:00:00 2001 From: Yasuo Ohgaki Date: Fri, 1 Mar 2002 11:52:04 +0000 Subject: [PATCH] Update doc --- ext/pgsql/README | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/ext/pgsql/README b/ext/pgsql/README index 180cc14e02..2a93349d3f 100644 --- a/ext/pgsql/README +++ b/ext/pgsql/README @@ -91,7 +91,7 @@ multiple queries at once. Each result may be retrieved separately by pg_get_result(). -------------------------------------------------------------------- -bool pg_request_cancel(resource connection) +bool pg_cancel_query(resource connection) Cancels currently executing async query already sent to PostgreSQL server. This function is useful when user request time consuming query @@ -109,23 +109,34 @@ retrieved one by one using pg_get_result(). If there is no result left in connection, it returns false. -------------------------------------------------------------------- -bool pg_is_busy(resource connection) +bool pg_connection_busy(resource connection) Returns connections is executing query or not. -------------------------------------------------------------------- -int pg_status(resource connection) +int pg_connection_status(resource connection) Gets connection status. It returns PGSQL_CONNECTION_OK or PGSQL_CONNECTION_BAD. -------------------------------------------------------------------- -bool pg_reset(resource connection) +bool pg_connection_reset(resource connection) Resets communication port to Postgresql server using the same connection parameter. It's useful for error recovery. -------------------------------------------------------------------- +string pg_result_error(resource result) + +Get error message associated with result + +-------------------------------------------------------------------- +int pg_result_status(resource result) + +Get status of query result + +-------------------------------------------------------------------- + Copy functions -- 2.40.0