COPY table_name ( field1, field2, field3) FROM STDIN CSV;
1,2,"q w"
3,4,"a s"
5,6,d
\.
...How to execute this query by PDO ?...Update:...Problem is PDO driver executes this query as statement....
For example, if you paste it into pgAdmin, it throws an err...