Descrição
int
pg_result_status
( resource result)
pg_result_status(
)
retorna
o
status
do
recurso
(resource
)
de
resultado
.
Os
valores
de
retorno
possíveis
são
:
PGSQL_EMPTY_QUERY
,
PGSQL_COMMAND_OK
,
PGSQL_TUPLES_OK
,
PGSQL_COPY_TO
,
PGSQL_COPY_FROM
,
PGSQL_BAD_RESPONSE
,
PGSQL_NONFATAL_ERROR
e
PGSQL_FATAL_ERROR
.
Veja
também
pg_connection_status(
)
.