diff options
| author | Remi Collet <remi@php.net> | 2015-05-20 14:02:25 +0200 |
|---|---|---|
| committer | Remi Collet <remi@php.net> | 2015-05-20 14:02:25 +0200 |
| commit | 59a78d48f06de10d927987dd0c940bf3c03dd316 (patch) | |
| tree | c50763803e01f81c9583100592ec2a9353019e4c /ext/pgsql/tests | |
| parent | f228bc5230ee7ad6f1a544a031dd3a1fb41c689d (diff) | |
| parent | 3be4e5d71af3d7f495876fabd5a9ce46580e2d0d (diff) | |
| download | php-git-59a78d48f06de10d927987dd0c940bf3c03dd316.tar.gz | |
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
move test
Diffstat (limited to 'ext/pgsql/tests')
| -rw-r--r-- | ext/pgsql/tests/pg_insert_002.phpt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/ext/pgsql/tests/pg_insert_002.phpt b/ext/pgsql/tests/pg_insert_002.phpt new file mode 100644 index 0000000000..87d87b8475 --- /dev/null +++ b/ext/pgsql/tests/pg_insert_002.phpt @@ -0,0 +1,27 @@ +--TEST-- +PostgreSQL pg_select() - basic test using schema +--SKIPIF-- +<?php include("skipif.inc"); ?> +--FILE-- +<?php + +include('config.inc'); + +$conn = pg_connect($conn_str); + +foreach (array('', '.', '..') as $table) { + var_dump(pg_insert($conn, $table, array('id' => 1, 'id2' => 1))); +} +?> +Done +--EXPECTF-- + +Warning: pg_insert(): The table name must be specified in %s on line %d +bool(false) + +Warning: pg_insert(): The table name must be specified in %s on line %d +bool(false) + +Warning: pg_insert(): The table name must be specified in %s on line %d +bool(false) +Done
\ No newline at end of file |
