.. highlightlang:: us .. _pq_result_status: pq_result_status ================ .. index:: pq_result_status .. us.tag pq_result_status NOTREADYGERMAN New550 postgres :ref:`pq_result_status` liefert den Status einer SQL-Anweisung. .. function:: status = pq_result_status(res) .. us.return **Returnwert** *status*. .. list-table:: :header-rows: 0 * - PGRES_EMPTY_QUERY (0) - * - PGRES_COMMAND_OK (1) - * - PGRES_TUPLES_OK (2) - * - PGRES_COPY_OUT (3) - * - PGRES_COPY_IN (4) - * - PGRES_BAD_RESPONSE (5) - * - PGRES_NONFATAL_ERROR (6) - * - PGRES_FATAL_ERROR (7) - .. us.params **Parameter** .. uparam:: res *res*. .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Beschreibung * - 5.5.0 - Neu. .. seealso:: :ref:`uberblick-postgresql` :sub:`id-1916841`