]> granicus.if.org Git - php/commit
Return empty array for no rows in pg_fetch_all()
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 21 Sep 2020 15:20:28 +0000 (17:20 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 21 Sep 2020 15:22:02 +0000 (17:22 +0200)
commit8ff2f2f84b2c0ea33b38f7e98aaa710ce4f3fc91
treee92deebd212e1134cfe3d3ad616419d1f26c99a7
parentfb4554e431e4f4063917c1a80ad2e929e6768d0b
Return empty array for no rows in pg_fetch_all()

This makes it line up with pg_fetch_all_columns(), as well as
similar functions in other exts, such as mysqli_fetch_all().
UPGRADING
ext/opcache/Optimizer/zend_func_info.c
ext/pgsql/pgsql.c
ext/pgsql/pgsql.stub.php
ext/pgsql/pgsql_arginfo.h
ext/pgsql/php_pgsql.h
ext/pgsql/tests/03sync_query.phpt