Skip to content

Commit fef6080

Browse files
committed
Port pgsql
1 parent faf8326 commit fef6080

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+152
-3
lines changed

ext/pgsql/tests/00version.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL version
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php include("skipif.inc"); ?>
57
--FILE--

ext/pgsql/tests/01createdb.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL create db
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php include("skipif.inc"); ?>
57
--FILE--

ext/pgsql/tests/02connection.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL connection
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php include("skipif.inc"); ?>
57
--FILE--

ext/pgsql/tests/03sync_query.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL sync query
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php include("skipif.inc"); ?>
57
--FILE--

ext/pgsql/tests/04async_query.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL async query
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php include("skipif.inc"); ?>
57
--FILE--

ext/pgsql/tests/05large_object.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL large object
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php include("skipif.inc"); ?>
57
--FILE--

ext/pgsql/tests/06_bug73498.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug 73498 Incorrect DELIMITER syntax for pg_copy_to()
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php include("skipif.inc"); ?>
57
--FILE--

ext/pgsql/tests/06copy.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL copy functions
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php include("skipif.inc"); ?>
57
--FILE--

ext/pgsql/tests/07optional.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL optional functions
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php include("skipif.inc"); ?>
57
--FILE--

ext/pgsql/tests/08escape.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL escape functions
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php include("skipif.inc"); ?>
57
--FILE--

ext/pgsql/tests/09notice.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL notice function
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57

ext/pgsql/tests/10pg_convert.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL pg_convert()
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57
include("skipif.inc");

ext/pgsql/tests/10pg_convert_9.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL pg_convert() (9.0+)
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57
include("skipif.inc");

ext/pgsql/tests/10pg_convert_json_array.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL pg_convert() and JSON/Array
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57
include("skipif.inc");

ext/pgsql/tests/11pg_meta_data.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL pg_metadata()
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php include("skipif.inc"); ?>
57
--FILE--

ext/pgsql/tests/12pg_insert.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL pg_insert()
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57
include("skipif.inc");

ext/pgsql/tests/12pg_insert_9.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL pg_insert() (9.0+)
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57
include("skipif.inc");

ext/pgsql/tests/13pg_select.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL pg_select()
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57
include("skipif.inc");

ext/pgsql/tests/13pg_select_9.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL pg_select() (9.0+)
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57
include("skipif.inc");

ext/pgsql/tests/14pg_update.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL pg_update()
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57
include("skipif.inc");

ext/pgsql/tests/14pg_update_9.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL pg_update() (9.0+)
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57
include("skipif.inc");

ext/pgsql/tests/15pg_delete.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL pg_delete()
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php include("skipif.inc"); ?>
57
--FILE--

ext/pgsql/tests/16pg_result_status.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL pg_result_status()
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php include("skipif.inc"); ?>
57
--FILE--

ext/pgsql/tests/17result.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL pg_fetch_*() functions
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php include("skipif.inc"); ?>
57
--FILE--

ext/pgsql/tests/18pg_escape_bytea_before.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL pg_escape_bytea() functions (before connection)
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php include("skipif.inc"); ?>
57
--FILE--

ext/pgsql/tests/18pg_escape_bytea_esc.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL pg_escape_bytea() functions (escape format)
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php include("skipif.inc"); ?>
57
--FILE--

ext/pgsql/tests/18pg_escape_bytea_hex.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL pg_escape_bytea() functions (hex format)
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57
include("skipif.inc");

ext/pgsql/tests/19pg_ping.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL pg_ping() functions
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php include("skipif.inc"); ?>
57
--FILE--

ext/pgsql/tests/20pg_get_pid.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL pg_get_pid() functions
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php include("skipif.inc"); ?>
57
--FILE--

ext/pgsql/tests/21pg_get_notify.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL pg_get_notify() functions
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php include("skipif.inc"); ?>
57
--FILE--

ext/pgsql/tests/22pg_fetch_object.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL pg_fetch_object()
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php include("skipif.inc"); ?>
57
--FILE--

ext/pgsql/tests/23sync_query_params.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL sync query params
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57
include("skipif.inc");

ext/pgsql/tests/24sync_query_prepared.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL sync prepared queries
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57
include("skipif.inc");

ext/pgsql/tests/25async_query_params.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL async query params
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57
include("skipif.inc");

ext/pgsql/tests/26async_query_prepared.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL async prepared queries
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57
include("skipif.inc");

ext/pgsql/tests/27large_object_oid.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL create large object with given oid
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57
include("skipif.inc");

ext/pgsql/tests/28large_object_import_oid.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL import large object with given oid
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57
include("skipif.inc");

ext/pgsql/tests/29nb_async_connect.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL non-blocking async connect
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57
include("skipif.inc");

ext/pgsql/tests/30nb_async_query_params.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL non-blocking async query params
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57
include("skipif.inc");

ext/pgsql/tests/31nb_async_query_prepared.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL non-blocking async prepared queries
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57
include("skipif.inc");

ext/pgsql/tests/32nb_async_query.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL non-blocking async queries
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57
include("skipif.inc");

ext/pgsql/tests/80_bug14383.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #14383 (8.0+) (using postgres with DBA causes DBA not to be able to find any keys)
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57
require_once(__DIR__.'/../../dba/tests/skipif.inc');

ext/pgsql/tests/80_bug24499.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #24499 (Notice: Undefined property: stdClass::)
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57
require_once('skipif.inc');

ext/pgsql/tests/80_bug27597.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #27597 (pg_fetch_array not returning false)
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57
require_once('skipif.inc');

ext/pgsql/tests/80_bug32223.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #32223 (weird behaviour of pg_last_notice)
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57
require_once('skipif.inc');

ext/pgsql/tests/80_bug32223b.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #32223 (weird behaviour of pg_last_notice using define)
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57
require_once('skipif.inc');

ext/pgsql/tests/80_bug36625.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #36625 (8.0+) (pg_trace() does not work)
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57
require_once('skipif.inc');

ext/pgsql/tests/80_bug39971.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #39971 (8.0+) (pg_insert/pg_update do not allow now() to be used for timestamp fields)
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57
require_once('skipif.inc');

ext/pgsql/tests/80_bug42783.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #42783 (pg_insert() does not support an empty value array)
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php
57
require_once('skipif.inc');

ext/pgsql/tests/98old_api.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PostgreSQL old api
3+
--EXTENSIONS--
4+
psql
35
--SKIPIF--
46
<?php include("skipif.inc"); ?>
57
--FILE--

0 commit comments

Comments
 (0)