]> granicus.if.org Git - php/commit
Promote E_NOTICE to Value/TypeError in PostgreSQL extension
authorGeorge Peter Banyard <girgias@php.net>
Mon, 28 Sep 2020 17:31:02 +0000 (18:31 +0100)
committerGeorge Peter Banyard <girgias@php.net>
Tue, 29 Sep 2020 14:13:01 +0000 (15:13 +0100)
commit053a5fc141be9d3d9b9fb50e9856e0e102c28e66
treea9fa9cc54d3bf3cef0c4d1474c9634ee75c3792c
parent5dd5569b89cce66b377f9934ae82ceea4e19e2a5
Promote E_NOTICE to Value/TypeError in PostgreSQL extension

Add some tests to cover related codepaths.
With the small caveat that the ones in build_assignment_string()
still don't seem to be tested as it looks the condtions are checked
beforehand, might need some more investigation.

Closes GH-6226
ext/pgsql/pgsql.c
ext/pgsql/tests/05large_object.phpt
ext/pgsql/tests/10pg_convert_9.phpt
ext/pgsql/tests/12pg_insert_9.phpt
ext/pgsql/tests/13pg_select_9.phpt
ext/pgsql/tests/28large_object_import_oid.phpt