Re: psql -c "\copy table to test.csv with CSV" - french character is wrong
Emi <[email protected]>
| Newsgroups | gmane.comp.db.postgresql.sql |
|---|---|
| Message-ID | <[email protected]> |
> sql2csv "SELECT DISTINCT opid, year FROM public.field_observations > ORDER BY year LIMIT 10" > /tmp/rien.csv > Ok. Will use stdout then. Thanks. -- psql -c "copy t1 to STDOUT with CSV" >! test.csv