php-src/ext/pgsql/tests
Nikita Popov 3f7210efa8 Try to make 17result.php more robust
This is our most common intermittent failure. I don't understand
why it happens and can't reproduce it, but defining an explicit
sort order seems worth a shot...
2019-06-04 12:18:21 +02:00
..
00version.phpt Fix 00version.phpt when commit message has multiple lines. 2017-01-26 11:36:24 +00:00
01createdb.phpt Add a test for bug 73498 2016-11-22 00:42:45 +01:00
02connection.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
03sync_query.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
04async_query.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
05large_object.phpt Replace dirname(__FILE__) by __DIR__ in tests 2019-03-15 22:55:30 +01:00
06_bug73498.phpt Add a test for bug 73498 2016-11-22 00:42:45 +01:00
06copy.phpt
07optional.phpt
08escape.phpt Try to make 17result.php more robust 2019-06-04 12:18:21 +02:00
09notice.phpt Remove empty sections in tests 2018-02-14 11:10:59 +01:00
10pg_convert.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
10pg_convert_9.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
10pg_convert_json_array.phpt
11pg_meta_data.phpt
12pg_insert.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
12pg_insert_9.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
13pg_select.phpt
13pg_select_9.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
14pg_update.phpt Attempt to fix tests fails 2016-05-31 16:48:19 +08:00
14pg_update_9.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
15pg_delete.phpt No sure why this is failed in travis 2016-05-31 17:22:47 +08: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 Replace dirname(__FILE__) by __DIR__ in tests 2019-03-15 22:55:30 +01:00
18pg_escape_bytea_esc.phpt Replace dirname(__FILE__) by __DIR__ in tests 2019-03-15 22:55:30 +01:00
18pg_escape_bytea_hex.phpt Replace dirname(__FILE__) by __DIR__ in tests 2019-03-15 22:55:30 +01:00
19pg_ping.phpt
20pg_get_pid.phpt
21pg_get_notify.phpt
22pg_fetch_object.phpt Fix typo in tests 2018-11-19 22:17:58 +01:00
23sync_query_params.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
24sync_query_prepared.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
25async_query_params.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
26async_query_prepared.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
27large_object_oid.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
28large_object_import_oid.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
29nb_async_connect.phpt Merge branch 'PHP-7.3' into PHP-7.4 2019-04-10 13:07:01 +02:00
30nb_async_query_params.phpt Convert CRLF line endings to LF 2018-10-13 11:21:27 +02:00
31nb_async_query_prepared.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
32nb_async_query.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
80_bug14383.phpt Replace dirname(__FILE__) by __DIR__ in tests 2019-03-15 22:55:30 +01:00
80_bug24499.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
80_bug27597.phpt Replace dirname(__FILE__) by __DIR__ in tests 2019-03-15 22:55:30 +01:00
80_bug32223.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
80_bug32223b.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
80_bug36625.phpt Replace dirname(__FILE__) by __DIR__ in tests 2019-03-15 22:55:30 +01:00
80_bug39971.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
80_bug42783.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
98old_api.phpt
9999dropdb.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
bug37100.phpt
bug37100_9.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
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 Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
bug72028.phpt
bug72195.phpt fix test portability 2016-06-17 17:09:42 +02:00
bug72197.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug75419.phpt Bugfix#75419 Fix clearing of default link during pg_close() 2017-10-23 14:44:00 -04:00
bug76548.phpt Use EXPECT when possible 2019-03-11 00:05:44 -03:00
bug77047.phpt Fixed bug #77047 pg_convert has a broken regex for the 'TIME WITHOUT TIMEZONE' data type 2018-11-18 12:29:34 +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
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 Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pg_meta_data_001.phpt
pg_select_001.phpt
pg_update_001.phpt Fix test compat for PostgreSQL 10 2017-10-27 14:58:43 +02:00
php.gif
README.md [ci skip] Migrate tests READMEs to Markdown 2019-05-12 22:03:10 +02:00
skipif.inc Explain why the test was skipped 2018-09-16 17:31:06 -03: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.