Google

NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7">

pg_result_status

(PHP 4 >= 4.2.0)

pg_result_status --  クエリ結果のステータスを取得する

説明

int pg_result_status ( resource result)

pg_result_status()は、結果リソースのステータス を返します。返り値は、PGSQL_EMPTY_QUERY, PGSQL_COMMAND_OK, PGSQL_TUPLES_OK, PGSQL_COPY_TO, PGSQL_COPY_FROM, PGSQL_BAD_RESPONSE, PGSQL_NONFATAL_ERROR, PGSQL_FATAL_ERRORのどれかとなります。

pgsql_connection_status()も参照下さい。