pgsql ext: pg_query_params/pg_send_query_params false constant handli…#7651
pgsql ext: pg_query_params/pg_send_query_params false constant handli…#7651devnexen wants to merge 2 commits intophp:masterfrom
Conversation
84a1c0e to
1f4239d
Compare
|
I really don't think adding a Zend API for this case is the way to go, when you can just to a check against |
|
I thought of something like this was more in case later it can be used beyond pgsql ext. |
1f4239d to
ebfaeea
Compare
|
ping :) |
|
Thanks for the PR! I'm not quite sure what to do here; the issue had been reported as https://bugs.php.net/68156, and re-classified as feature request back then. And at least the fix in this PR appears to introduce a BC break; consider using Also, someone mentioned in that bug report that PDO_PGSQL would behave the same (I haven't checked whether this is still the case), so it might be reasonable to change its behavior as well. BTW, I just noticed that the pgsql test suite is pretty volatile regarding the setup of the test tables; unless 01createdb.phpt is run, most other tests would fail since there is no explicit table creation. |
858b38e to
d17bd4a
Compare
|
I think with our new policy we can ValueError on invalid types. |
…ng proposal.
making a new subset of zend_get_string calls and concealed for the pgsql module for now.