從查詢中複製

copy (select oid,relname from pg_class limit 5) to stdout;