Skip to content

Commit d0111d7

Browse files
committed
Promote warnings to Errors in PostgreSQL extension
Do some drive by indentation fixes Also fix pg_select() in regards to the $result_type arg which was missing from ZPP Closes GH-6129
1 parent 96f2f31 commit d0111d7

File tree

8 files changed

+184
-97
lines changed

8 files changed

+184
-97
lines changed

ext/opcache/Optimizer/zend_func_info.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ static const func_info_t func_infos[] = {
727727
F1("pg_result_error", MAY_BE_FALSE | MAY_BE_STRING),
728728
F1("pg_result_error_field", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING),
729729
F1("pg_get_result", MAY_BE_FALSE | MAY_BE_RESOURCE),
730-
F1("pg_result_status", MAY_BE_FALSE | MAY_BE_LONG | MAY_BE_STRING),
730+
F1("pg_result_status", MAY_BE_LONG | MAY_BE_STRING),
731731
F1("pg_get_notify", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_ANY),
732732
F1("pg_socket", MAY_BE_FALSE | MAY_BE_RESOURCE),
733733
F1("pg_meta_data", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_ARRAY),

0 commit comments

Comments
 (0)