php-src/ext/pgsql/tests
George Peter Banyard eddab74021
Improve DBA test suite (#8904)
Generalises tests for all the different drivers.
Run the general test for the various drivers.

This allows support for parallel testing as the tests now do not rely on the same DB file.
2022-07-28 19:36:04 +01:00
..
00version.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
01createdb.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
02connection.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
03sync_query.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
04async_query.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
05large_object.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
06_bug73498.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
06copy.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
06copy_2.phpt Merge branch 'PHP-8.0' into PHP-8.1 2021-10-05 18:13:20 +02:00
07optional.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
08escape.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
09notice.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
10pg_convert.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
10pg_convert_9.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
10pg_convert_json_array.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
11pg_meta_data.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
12pg_insert.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
12pg_insert_9.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
13pg_select.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
13pg_select_9.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
14pg_update.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
14pg_update_9.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
15pg_delete.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
16pg_result_status.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
17result.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
18pg_escape_bytea_before.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
18pg_escape_bytea_esc.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
18pg_escape_bytea_hex.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
19pg_ping.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
20pg_get_pid.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
21pg_get_notify.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
22pg_fetch_object.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
23sync_query_params.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
24sync_query_prepared.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
25async_query_params.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
26async_query_prepared.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
27large_object_oid.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
28large_object_import_oid.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
29nb_async_connect.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
30nb_async_query_params.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
31nb_async_query_prepared.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
32nb_async_query.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
80_bug14383.phpt Improve DBA test suite (#8904) 2022-07-28 19:36:04 +01:00
80_bug24499.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
80_bug27597.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
80_bug32223.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
80_bug32223b.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
80_bug36625.phpt Fix some more CLEAN sections 2021-09-03 11:18:19 +02:00
80_bug39971.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
80_bug42783.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
98old_api.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
9999dropdb.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
bug37100.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
bug37100_9.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
bug46408.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
bug47199.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
bug60244.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
bug64609.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
bug65119.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
bug68638.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
bug71062.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
bug71998.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
bug72028.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
bug72195.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
bug72197.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
bug75419.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
bug76548.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
bug77047.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
bug81720.phpt Add missing SKIPIF section to new test 2022-06-06 12:05:49 +02:00
close_default_link.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
config.inc Deprecate ${} string interpolation 2022-05-05 10:14:56 +02:00
CONFLICTS Implement fine-grained conflict handling 2019-02-20 11:20:40 +01:00
connect_after_close.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
connection_reuse.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
deprecated_implicit_default_link.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
gh8253.phpt Merge branch 'PHP-8.0' into PHP-8.1 2022-03-29 10:53:56 +02:00
lcmess.inc Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
no_link_open.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
nonblocking.inc Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
pg_delete_001.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
pg_insert_001.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
pg_insert_002.phpt Fix EXTENSIONS section for pgsql 2021-06-14 14:40:38 +02:00
pg_meta_data_001.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
pg_select_001.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
pg_update_001.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
php.gif
README.md Update bug tracker links 2022-05-12 14:55:11 +02:00
skipif.inc Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00

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.