DONE
--EXPECTF--
Test
-object(pq\Result)#%d (8) {
+object(pq\Result)#%d (9) {
["status"]=>
int(2)
["statusMessage"]=>
string(9) "TUPLES_OK"
["errorMessage"]=>
string(0) ""
+ ["diag"]=>
+ array(17) {
+ ["severity"]=>
+ NULL
+ ["sqlstate"]=>
+ NULL
+ ["message_primary"]=>
+ NULL
+ ["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"]=>
+ NULL
+ ["source_line"]=>
+ NULL
+ ["source_function"]=>
+ NULL
+ }
["numRows"]=>
int(1)
["numCols"]=>
["autoConvert"]=>
int(65535)
}
-object(pq\Result)#%d (8) {
+object(pq\Result)#%d (9) {
["status"]=>
int(2)
["statusMessage"]=>
string(9) "TUPLES_OK"
["errorMessage"]=>
string(0) ""
+ ["diag"]=>
+ array(17) {
+ ["severity"]=>
+ NULL
+ ["sqlstate"]=>
+ NULL
+ ["message_primary"]=>
+ NULL
+ ["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"]=>
+ NULL
+ ["source_line"]=>
+ NULL
+ ["source_function"]=>
+ NULL
+ }
["numRows"]=>
int(1)
["numCols"]=>
DONE
--EXPECTF--
Test
-object(pq\Result)#%d (8) {
+object(pq\Result)#%d (9) {
["status"]=>
int(2)
["statusMessage"]=>
string(9) "TUPLES_OK"
["errorMessage"]=>
string(0) ""
+ ["diag"]=>
+ array(17) {
+ ["severity"]=>
+ NULL
+ ["sqlstate"]=>
+ NULL
+ ["message_primary"]=>
+ NULL
+ ["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"]=>
+ NULL
+ ["source_line"]=>
+ NULL
+ ["source_function"]=>
+ NULL
+ }
["numRows"]=>
int(1)
["numCols"]=>
DONE
--EXPECTF--
Test
-object(pq\Result)#%d (8) {
+object(pq\Result)#%d (9) {
["status"]=>
int(2)
["statusMessage"]=>
string(9) "TUPLES_OK"
["errorMessage"]=>
string(0) ""
+ ["diag"]=>
+ array(17) {
+ ["severity"]=>
+ NULL
+ ["sqlstate"]=>
+ NULL
+ ["message_primary"]=>
+ NULL
+ ["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"]=>
+ NULL
+ ["source_line"]=>
+ NULL
+ ["source_function"]=>
+ NULL
+ }
["numRows"]=>
int(1)
["numCols"]=>
DONE
--EXPECTF--
Test
-object(pq\Result)#%d (8) {
+object(pq\Result)#%d (9) {
["status"]=>
int(9)
["statusMessage"]=>
string(12) "SINGLE_TUPLE"
["errorMessage"]=>
string(0) ""
+ ["diag"]=>
+ array(17) {
+ ["severity"]=>
+ NULL
+ ["sqlstate"]=>
+ NULL
+ ["message_primary"]=>
+ NULL
+ ["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"]=>
+ NULL
+ ["source_line"]=>
+ NULL
+ ["source_function"]=>
+ NULL
+ }
["numRows"]=>
int(1)
["numCols"]=>
["autoConvert"]=>
int(65535)
}
-object(pq\Result)#%d (8) {
+object(pq\Result)#%d (9) {
["status"]=>
int(9)
["statusMessage"]=>
string(12) "SINGLE_TUPLE"
["errorMessage"]=>
string(0) ""
+ ["diag"]=>
+ array(17) {
+ ["severity"]=>
+ NULL
+ ["sqlstate"]=>
+ NULL
+ ["message_primary"]=>
+ NULL
+ ["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"]=>
+ NULL
+ ["source_line"]=>
+ NULL
+ ["source_function"]=>
+ NULL
+ }
["numRows"]=>
int(1)
["numCols"]=>
["autoConvert"]=>
int(65535)
}
-object(pq\Result)#%d (8) {
+object(pq\Result)#%d (9) {
["status"]=>
int(9)
["statusMessage"]=>
string(12) "SINGLE_TUPLE"
["errorMessage"]=>
string(0) ""
+ ["diag"]=>
+ array(17) {
+ ["severity"]=>
+ NULL
+ ["sqlstate"]=>
+ NULL
+ ["message_primary"]=>
+ NULL
+ ["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"]=>
+ NULL
+ ["source_line"]=>
+ NULL
+ ["source_function"]=>
+ NULL
+ }
["numRows"]=>
int(1)
["numCols"]=>
["autoConvert"]=>
int(65535)
}
-object(pq\Result)#%d (8) {
+object(pq\Result)#%d (9) {
["status"]=>
int(2)
["statusMessage"]=>
string(9) "TUPLES_OK"
["errorMessage"]=>
string(0) ""
+ ["diag"]=>
+ array(17) {
+ ["severity"]=>
+ NULL
+ ["sqlstate"]=>
+ NULL
+ ["message_primary"]=>
+ NULL
+ ["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"]=>
+ NULL
+ ["source_line"]=>
+ NULL
+ ["source_function"]=>
+ NULL
+ }
["numRows"]=>
int(0)
["numCols"]=>
--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"]=>
Warning: pq\Result not initialized in %s on line %d
Warning: pq\Result not initialized in %s on line %d
-object(pq\Result)#%d (8) {
+
+Warning: pq\Result not initialized in %s on line %d
+
+Warning: pq\Result not initialized in %s on line %d
+object(pq\Result)#%d (9) {
["status"]=>
NULL
["statusMessage"]=>
NULL
["errorMessage"]=>
NULL
+ ["diag"]=>
+ NULL
["numRows"]=>
int(0)
["numCols"]=>
["autoConvert"]=>
int(65535)
}
-array(9) {
+array(10) {
["dummy"]=>
int(2)
["status"]=>
NULL
["errorMessage"]=>
NULL
+ ["diag"]=>
+ NULL
["numRows"]=>
int(0)
["numCols"]=>