Lines Matching refs:pgsqlCopyToFile
2 PDO PgSQL pgsqlCopyToArray and pgsqlCopyToFile
52 echo "Testing pgsqlCopyToFile() with default parameters\n";
55 var_dump($db->pgsqlCopyToFile('test_copy_to',$filename));
57 echo "Testing pgsqlCopyToFile() with different field separator and not null indicator\n";
58 var_dump($db->pgsqlCopyToFile('test_copy_to',$filename,";","NULL"));
60 echo "Testing pgsqlCopyToFile() with only selected fields\n";
61 var_dump($db->pgsqlCopyToFile('test_copy_to',$filename,";","NULL",'a,c'));
64 echo "Testing pgsqlCopyToFile() with error\n";
66 var_dump($db->pgsqlCopyToFile('test_error',$filename));
71 echo "Testing pgsqlCopyToFile() to unwritable file\n";
73 var_dump($db->pgsqlCopyToFile('test_copy_to', 'nonexistent/foo.csv'));
128 Testing pgsqlCopyToFile() with default parameters
133 Testing pgsqlCopyToFile() with different field separator and not null indicator
138 Testing pgsqlCopyToFile() with only selected fields
143 Testing pgsqlCopyToFile() with error
145 Testing pgsqlCopyToFile() to unwritable file