X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=tests%2Fcancel001.phpt;fp=tests%2Fcancel001.phpt;h=708591f30f01a56475321bab8453e770aa234cf1;hp=5ccdf43198089f239ef4107b596bc56530d8f143;hb=1b5358df410e66224c7e8251d286134b0f3f59d3;hpb=0cfa9a40013ceab9edd0a8bcf4189e4be9c1878c diff --git a/tests/cancel001.phpt b/tests/cancel001.phpt index 5ccdf43..708591f 100644 --- a/tests/cancel001.phpt +++ b/tests/cancel001.phpt @@ -24,13 +24,50 @@ DONE --EXPECTF-- Test bool(true) -object(pq\Result)#%d (8) { +object(pq\Result)#%d (9) { ["status"]=> int(7) ["statusMessage"]=> string(11) "FATAL_ERROR" ["errorMessage"]=> string(47) "ERROR: canceling statement due to user request" + ["diag"]=> + array(17) { + ["severity"]=> + string(5) "ERROR" + ["sqlstate"]=> + string(5) "57014" + ["message_primary"]=> + string(39) "canceling statement due to user request" + ["message_detail"]=> + NULL + ["message_hint"]=> + NULL + ["statement_position"]=> + NULL + ["internal_position"]=> + NULL + ["internal_query"]=> + NULL + ["context"]=> + NULL + ["schema_name"]=> + NULL + ["table_name"]=> + NULL + ["column_name"]=> + NULL + ["datatype_name"]=> + NULL + ["constraint_name"]=> + NULL + ["source_file"]=> + string(10) "postgres.c" + ["source_line"]=> + string(4) "2988" + ["source_function"]=> + string(17) "ProcessInterrupts" + } ["numRows"]=> int(0) ["numCols"]=>