php-src/ext/pgsql/tests
Matteo Beccati 9af6882d28 Merge branch 'PHP-7.4' into PHP-8.0
* PHP-7.4:
  Add test for pg_put_line() and pg_end_copy()
2021-10-05 17:44:19 +02:00
..
00version.phpt Fix 00version.phpt when commit message has multiple lines. 2017-01-26 11:36:24 +00:00
01createdb.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
02connection.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
03sync_query.phpt Update ext/pgsql parameter names 2020-10-13 12:30:44 +02:00
04async_query.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
05large_object.phpt Promote E_NOTICE to Value/TypeError in PostgreSQL extension 2020-09-29 15:13:01 +01:00
06_bug73498.phpt Add a test for bug 73498 2016-11-22 00:42:45 +01:00
06copy_2.phpt Add test for pg_put_line() and pg_end_copy() 2021-10-05 17:43:48 +02:00
06copy.phpt
07optional.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
08escape.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
09notice.phpt Update ext/pgsql parameter names 2020-10-13 12:30:44 +02:00
10pg_convert_9.phpt Promote E_NOTICE to Value/TypeError in PostgreSQL extension 2020-09-29 15:13:01 +01:00
10pg_convert_json_array.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
10pg_convert.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
11pg_meta_data.phpt
12pg_insert_9.phpt Promote E_NOTICE to Value/TypeError in PostgreSQL extension 2020-09-29 15:13:01 +01:00
12pg_insert.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
13pg_select_9.phpt Promote E_NOTICE to Value/TypeError in PostgreSQL extension 2020-09-29 15:13:01 +01:00
13pg_select.phpt
14pg_update_9.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
14pg_update.phpt
15pg_delete.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
16pg_result_status.phpt
17result.phpt Try to make 17result.php more robust 2019-06-04 12:18:21 +02:00
18pg_escape_bytea_before.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
18pg_escape_bytea_esc.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
18pg_escape_bytea_hex.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
19pg_ping.phpt
20pg_get_pid.phpt
21pg_get_notify.phpt
22pg_fetch_object.phpt Update ext/pgsql parameter names 2020-10-13 12:30:44 +02:00
23sync_query_params.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
24sync_query_prepared.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
25async_query_params.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
26async_query_prepared.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
27large_object_oid.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
28large_object_import_oid.phpt Promote E_NOTICE to Value/TypeError in PostgreSQL extension 2020-09-29 15:13:01 +01:00
29nb_async_connect.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
30nb_async_query_params.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
31nb_async_query_prepared.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
32nb_async_query.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
80_bug14383.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
80_bug24499.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
80_bug27597.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
80_bug32223.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
80_bug32223b.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
80_bug36625.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
80_bug39971.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
80_bug42783.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
98old_api.phpt Deprecate pgsql function aliases 2020-09-21 11:33:05 +02:00
9999dropdb.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
bug37100_9.phpt
bug37100.phpt
bug46408.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
bug47199.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug60244.phpt Update ext/pgsql parameter names 2020-10-13 12:30:44 +02:00
bug64609.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug65119.phpt
bug68638.phpt
bug71062.phpt
bug71998.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug72028.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug72195.phpt Remove deprecated multi-parameter form of pg_connect() 2020-09-09 12:31:00 +02:00
bug72197.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
bug75419.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug76548.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
bug77047.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
close_default_link.phpt Fix use after free on pg_close() of default connection 2019-04-10 10:38:24 +02:00
config.inc Merge branch 'PHP-5.6' into PHP-7.0 2016-11-22 00:46:03 +01:00
CONFLICTS Implement fine-grained conflict handling 2019-02-20 11:20:40 +01:00
connect_after_close.phpt Fix pgsql use after free trying to reuse closed connection 2019-04-10 12:18:57 +02:00
lcmess.inc Deprecate pgsql function aliases 2020-09-21 11:33:05 +02:00
no_link_open.phpt Promote pgsql no link to Error exception 2020-09-09 12:45:07 +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
pg_insert_001.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pg_insert_002.phpt Promote warnings to Errors in PostgreSQL extension 2020-09-14 17:01:35 +02:00
pg_meta_data_001.phpt
pg_select_001.phpt Promote warnings to Errors in PostgreSQL extension 2020-09-14 17:01:35 +02:00
pg_update_001.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
php.gif
README.md [ci skip] Migrate tests READMEs to Markdown 2019-05-12 22:03:10 +02:00
skipif.inc Reindent phpt files 2020-02-03 22:52:20 +01: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.