Lines Matching refs:pgsqlCopyFromFile
2 PDO PgSQL pgsqlCopyFromArray and pgsqlCopyFromFile
78 echo "Testing pgsqlCopyFromFile() with default parameters\n";
80 var_dump($db->pgsqlCopyFromFile('test_copy_from',$filename));
88 echo "Testing pgsqlCopyFromFile() with different field separator and not null indicator\n";
90 var_dump($db->pgsqlCopyFromFile('test_copy_from',$filenameWithDifferentNullValues,";","NULL"));
97 echo "Testing pgsqlCopyFromFile() with only selected fields\n";
99 var_dump($db->pgsqlCopyFromFile('test_copy_from',$filenameWithDifferentNullValuesAndSelectedFields,…
106 echo "Testing pgsqlCopyFromFile() with error\n";
109 …var_dump($db->pgsqlCopyFromFile('test_error',$filenameWithDifferentNullValuesAndSelectedFields,";"…
115 echo "Testing pgsqlCopyFromFile() with non existing file\n";
118 var_dump($db->pgsqlCopyFromFile('test_copy_from',"nonexisting/foo.csv",";","NULL",'a,c'));
271 Testing pgsqlCopyFromFile() with default parameters
315 Testing pgsqlCopyFromFile() with different field separator and not null indicator
359 Testing pgsqlCopyFromFile() with only selected fields
403 Testing pgsqlCopyFromFile() with error
405 Testing pgsqlCopyFromFile() with non existing file