Lines Matching refs:pgsqlCopyToFile
2 PDO PgSQL pgsqlCopyToArray and pgsqlCopyToFile
52 echo "Testing pgsqlCopyToFile() with default parameters\n";
55 var_dump($db->pgsqlCopyToFile('test',$filename));
57 echo "Testing pgsqlCopyToFile() with different field separator and not null indicator\n";
58 var_dump($db->pgsqlCopyToFile('test',$filename,";","NULL"));
60 echo "Testing pgsqlCopyToFile() with only selected fields\n";
61 var_dump($db->pgsqlCopyToFile('test',$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', 'nonexistent/foo.csv'));
122 Testing pgsqlCopyToFile() with default parameters
127 Testing pgsqlCopyToFile() with different field separator and not null indicator
132 Testing pgsqlCopyToFile() with only selected fields
137 Testing pgsqlCopyToFile() with error
139 Testing pgsqlCopyToFile() to unwritable file