Enumeration

PgsqlResultStatus

Declaration

enum Pgsql.ResultStatus

Description

Status of a query result.

Members

PGSQL_RESULT_STATUS_EMPTY_QUERY

Empty query string was executed.

  • Value: 0
  • Available since: 1
PGSQL_RESULT_STATUS_COMMAND_OK

Successful completion of a command returning no data.

  • Value: 1
  • Available since: 1
PGSQL_RESULT_STATUS_TUPLES_OK

Successful completion of a command returning data.

  • Value: 2
  • Available since: 1
PGSQL_RESULT_STATUS_COPY_OUT

Copy Out data transfer in progress.

  • Value: 3
  • Available since: 1
PGSQL_RESULT_STATUS_COPY_IN

Copy In data transfer in progress.

  • Value: 4
  • Available since: 1
PGSQL_RESULT_STATUS_BAD_RESPONSE

The server’s response was not understood.

  • Value: 5
  • Available since: 1
PGSQL_RESULT_STATUS_NONFATAL_ERROR

Notice or warning message.

  • Value: 6
  • Available since: 1
PGSQL_RESULT_STATUS_FATAL_ERROR

Query failed.

  • Value: 7
  • Available since: 1
PGSQL_RESULT_STATUS_COPY_BOTH

Copy In/Out data transfer in progress.

  • Value: 8
  • Available since: 1
PGSQL_RESULT_STATUS_SINGLE_TUPLE

Single-row mode result (since PostgreSQL 9.2).

  • Value: 9
  • Available since: 1
PGSQL_RESULT_STATUS_PIPELINE_SYNC

Pipeline synchronization marker (since PostgreSQL 14).

  • Value: 10
  • Available since: 1
PGSQL_RESULT_STATUS_PIPELINE_ABORTED

Pipeline was aborted (since PostgreSQL 14).

  • Value: 11
  • Available since: 1
PGSQL_RESULT_STATUS_TUPLES_CHUNK

Tuples chunk result (since PostgreSQL 17).

  • Value: 12
  • Available since: 1