php-src/ext/pgsql/tests
David CARLIER f194cdf852 ext/pgsql: fix PGtrace invalid free issue.
disable trace when closing the connection, is a no op if there is no stream
attached to it.

Close GH-11403
2023-06-18 13:44:39 +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 Merge branch 'PHP-8.0' into PHP-8.1 2022-04-21 23:27:29 +02: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 EXTENSIONS section for pgsql 2021-06-14 14:40:38 +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 EXTENSIONS section to new test 2022-06-06 12:21:25 +02:00
close_default_link.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +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 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
gh10672.phpt Fix GH-10672 (pg_lo_open segfaults in the strict_types mode) 2023-02-24 14:31:23 +00: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 ext/psql: pg_meta_data, extended mode, fix typo for pseudo typtype. 2023-03-18 07:09:13 +00:00
pg_select_001.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
pg_trace.phpt ext/pgsql: fix PGtrace invalid free issue. 2023-06-18 13:44:39 +01:00
pg_update_001.phpt Deprecate using the implicit default PgSQL connection 2021-07-09 23:12:37 +02:00
php.gif
README.md [ci skip] Migrate tests READMEs to Markdown 2019-05-12 22:03:10 +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.