From f59f87c095542dbdbc94d7b1525cf73d11d744a4 Mon Sep 17 00:00:00 2001 From: Christopher Kings-Lynne Date: Tue, 22 Mar 2005 08:58:58 +0000 Subject: [PATCH] List possible diagnostic codes git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@182613 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../pgsql/functions/pg-result-error-field.xml | 35 +++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/reference/pgsql/functions/pg-result-error-field.xml b/reference/pgsql/functions/pg-result-error-field.xml index 10eb5beb93..25cc71bbf2 100644 --- a/reference/pgsql/functions/pg-result-error-field.xml +++ b/reference/pgsql/functions/pg-result-error-field.xml @@ -1,5 +1,5 @@ - + @@ -28,7 +28,38 @@ pg_get_result to get the result handle. - Possible fieldcode values are: + Possible fieldcode values are: PGSQL_DIAG_SEVERITY, + PGSQL_DIAG_SQLSTATE, PGSQL_DIAG_MESSAGE_PRIMARY, x + PGSQL_DIAG_MESSAGE_DETAIL, + PGSQL_DIAG_MESSAGE_HINT, PGSQL_DIAG_STATEMENT_POSITION, + PGSQL_DIAG_INTERNAL_POSITION (PostgreSQL 8.0+ only), + PGSQL_DIAG_INTERNAL_QUERY (PostgreSQL 8.0+ only), + PGSQL_DIAG_CONTEXT, PGSQL_DIAG_SOURCE_FILE, + PGSQL_DIAG_SOURCE_LINE or + PGSQL_DIAG_SOURCE_FUNCTION. + + + + + &reftitle.examples; + + + <function>pg_result_error_field</function> example + + +]]> + +