Lines Matching refs:pgsqlCopyToFile
2 PDO PgSQL pgsqlCopyToArray and pgsqlCopyToFile
51 echo "Testing pgsqlCopyToFile() with default parameters\n";
54 var_dump($db->pgsqlCopyToFile('test_copy_to',$filename));
56 echo "Testing pgsqlCopyToFile() with different field separator and not null indicator\n";
57 var_dump($db->pgsqlCopyToFile('test_copy_to',$filename,";","NULL"));
59 echo "Testing pgsqlCopyToFile() with only selected fields\n";
60 var_dump($db->pgsqlCopyToFile('test_copy_to',$filename,";","NULL",'a,c'));
63 echo "Testing pgsqlCopyToFile() with error\n";
65 var_dump($db->pgsqlCopyToFile('test_error',$filename));
70 echo "Testing pgsqlCopyToFile() to unwritable file\n";
72 var_dump($db->pgsqlCopyToFile('test_copy_to', 'nonexistent/foo.csv'));
127 Testing pgsqlCopyToFile() with default parameters
132 Testing pgsqlCopyToFile() with different field separator and not null indicator
137 Testing pgsqlCopyToFile() with only selected fields
142 Testing pgsqlCopyToFile() with error
144 Testing pgsqlCopyToFile() to unwritable file