Lines Matching refs:pgsqlCopyFromFile
2 PDO PgSQL pgsqlCopyFromArray and pgsqlCopyFromFile
77 echo "Testing pgsqlCopyFromFile() with default parameters\n";
79 var_dump($db->pgsqlCopyFromFile('test_copy_from',$filename));
87 echo "Testing pgsqlCopyFromFile() with different field separator and not null indicator\n";
89 var_dump($db->pgsqlCopyFromFile('test_copy_from',$filenameWithDifferentNullValues,";","NULL"));
96 echo "Testing pgsqlCopyFromFile() with only selected fields\n";
98 var_dump($db->pgsqlCopyFromFile('test_copy_from',$filenameWithDifferentNullValuesAndSelectedFields,…
105 echo "Testing pgsqlCopyFromFile() with error\n";
108 …var_dump($db->pgsqlCopyFromFile('test_error',$filenameWithDifferentNullValuesAndSelectedFields,";"…
114 echo "Testing pgsqlCopyFromFile() with non existing file\n";
117 var_dump($db->pgsqlCopyFromFile('test_copy_from',"nonexisting/foo.csv",";","NULL",'a,c'));
270 Testing pgsqlCopyFromFile() with default parameters
314 Testing pgsqlCopyFromFile() with different field separator and not null indicator
358 Testing pgsqlCopyFromFile() with only selected fields
402 Testing pgsqlCopyFromFile() with error
404 Testing pgsqlCopyFromFile() with non existing file