Skip to content

Commit 2ffab44

Browse files
committed
Fix pgsql func info
Some functions can now return a value with refcount > 1.
1 parent 331edda commit 2ffab44

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Zend/Optimizer/zend_func_info.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,6 @@ static const func_info_t func_infos[] = {
687687
F1("pg_connect", MAY_BE_FALSE | MAY_BE_RESOURCE),
688688
FN("pg_pconnect", MAY_BE_FALSE | MAY_BE_RESOURCE),
689689
F1("pg_dbname", MAY_BE_STRING),
690-
F1("pg_last_error", MAY_BE_STRING),
691690
F1("pg_options", MAY_BE_STRING),
692691
F1("pg_port", MAY_BE_STRING),
693692
F1("pg_tty", MAY_BE_STRING),
@@ -699,9 +698,7 @@ static const func_info_t func_infos[] = {
699698
F1("pg_prepare", MAY_BE_FALSE | MAY_BE_RESOURCE),
700699
F1("pg_execute", MAY_BE_FALSE | MAY_BE_RESOURCE),
701700
FN("pg_last_notice", MAY_BE_FALSE | MAY_BE_TRUE | MAY_BE_STRING | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_ANY ),
702-
F1("pg_field_table", MAY_BE_FALSE | MAY_BE_LONG | MAY_BE_STRING),
703701
F1("pg_field_name", MAY_BE_STRING),
704-
F1("pg_field_type", MAY_BE_STRING),
705702
F1("pg_field_type_oid", MAY_BE_LONG | MAY_BE_STRING),
706703
F1("pg_fetch_result", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING),
707704
F1("pg_fetch_row", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_NULL | MAY_BE_ARRAY_OF_STRING),

0 commit comments

Comments
 (0)