mirror of
https://github.com/php/php-src.git
synced 2026-03-26 17:22:15 +01:00
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
The pgsql extension tests
Test scripts assumes:
- PostgreSQL server is installed locally
- There is a PostgreSQL account for the users running the test scripts
- There is database named
test
For instance, if your login name is testuser, you should have PostgreSQL user
account named testuser and grant that user access to the database test.
If you have account and database, type createdb test from command prompt to
create the database to execute the test scripts. By executing the above command
as the same user running the tests you ensure that the user is granted access to
the database.
If you find problems in PostgreSQL extension, please report a bug.