mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
75da0d7c45
Previously, pg_select did not allow unconditional selection, where an empty ids array would result in a function failure. This patch implements two changes: - Make the ids array an optional parameter. - Allow the ids array to be empty. In both cases, unconditional selection happen, which is equivalent to pg_query('SELECT * FROM <table>;'). Two test cases were added to test the aforementioned changes. Close GH-5332 |
||
---|---|---|
.. | ||
tests | ||
config.m4 | ||
config.w32 | ||
CREDITS | ||
pgsql_arginfo.h | ||
pgsql.c | ||
pgsql.stub.php | ||
php_pgsql.h |