Test: /ext/pdo_pgsql/tests/copy_to.phpt - Version 7.0.16RC1    

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
001+
001- Preparing test table for CopyTo tests
002- Testing pgsqlCopyToArray() with default parameters
003- array(3) {
004- [0]=>
005- string(19) "0 test insert 0 \N
006- "
007- [1]=>
008- string(19) "1 test insert 1 \N
009- "
010- [2]=>
011- string(19) "2 test insert 2 \N
012- "
013- }
014- Testing pgsqlCopyToArray() with different field separator and not null indicator
015- array(3) {
016- [0]=>
017- string(21) "0;test insert 0;NULL
018- "
019- [1]=>
020- string(21) "1;test insert 1;NULL
021- "
022- [2]=>
023- string(21) "2;test insert 2;NULL
024- "
025- }
026- Testing pgsqlCopyToArray() with only selected fields
027- array(3) {
028- [0]=>
029- string(7) "0;NULL
030- "
031- [1]=>
032- string(7) "1;NULL
033- "
034- [2]=>
035- string(7) "2;NULL
036- "
037- }
038- Testing pgsqlCopyToArray() with error
039- Exception: SQLSTATE[42P01]: Undefined table: 7 %s: %s "test_error" %s
040- Testing pgsqlCopyToFile() with default parameters
041- bool(true)
042- 0 test insert 0 \N
043- 1 test insert 1 \N
044- 2 test insert 2 \N
045- Testing pgsqlCopyToFile() with different field separator and not null indicator
046- bool(true)
047- 0;test insert 0;NULL
048- 1;test insert 1;NULL
049- 2;test insert 2;NULL
050- Testing pgsqlCopyToFile() with only selected fields
051- bool(true)
052- 0;NULL
053- 1;NULL
054- 2;NULL
055- Testing pgsqlCopyToFile() with error
056- Exception: SQLSTATE[42P01]: Undefined table: 7 %s: %s "test_error" %s
057- Testing pgsqlCopyToFile() to unwritable file
058- Exception: SQLSTATE[HY000]: General error: 7 Unable to open the file for writing