Google

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

pg_result_status

(PHP 4 >= 4.2.0)

pg_result_status --  Gibt den Status eines Abfrageergebnisses zurück

Beschreibung

int pg_result_status ( resource result)

pg_result_status() gibt den Status einer Ergebniskennung zurück. Mögliche Rückgabewerte sind: PGSQL_EMPTY_QUERY, PGSQL_COMMAND_OK, PGSQL_TUPLES_OK, PGSQL_COPY_TO, PGSQL_COPY_FROM, PGSQL_BAD_RESPONSE, PGSQL_NONFATAL_ERROR und PGSQL_FATAL_ERROR.

Siehe auch pg_connection_status().