Lines Matching refs:pgsqlCopyToFile
2 PDO PgSQL pgsqlCopyToArray and pgsqlCopyToFile
50 echo "Testing pgsqlCopyToFile() with default parameters\n";
53 var_dump($db->pgsqlCopyToFile('test',$filename));
55 echo "Testing pgsqlCopyToFile() with different field separator and not null indicator\n";
56 var_dump($db->pgsqlCopyToFile('test',$filename,";","NULL"));
58 echo "Testing pgsqlCopyToFile() with only selected fields\n";
59 var_dump($db->pgsqlCopyToFile('test',$filename,";","NULL",'a,c'));
62 echo "Testing pgsqlCopyToFile() with error\n";
64 var_dump($db->pgsqlCopyToFile('test_error',$filename));
69 echo "Testing pgsqlCopyToFile() to unwritable file\n";
71 var_dump($db->pgsqlCopyToFile('test', 'nonexistent/foo.csv'));
120 Testing pgsqlCopyToFile() with default parameters
125 Testing pgsqlCopyToFile() with different field separator and not null indicator
130 Testing pgsqlCopyToFile() with only selected fields
135 Testing pgsqlCopyToFile() with error
137 Testing pgsqlCopyToFile() to unwritable file