Re: psql -c "\copy table to test.csv with CSV" - french character is wrong - Mailing list pgsql-sql

From David G. Johnston
Subject Re: psql -c "\copy table to test.csv with CSV" - french character is wrong
Date
Msg-id CAKFQuwaf=KY4ZXdQKVfp+XQ_oPQCt0t4t2+-pTxEqKAe7axkng@mail.gmail.com
Whole thread Raw
In response to psql -c "\copy table to test.csv with CSV" - french character iswrong  (Emi <emilu@encs.concordia.ca>)
Responses Re: psql -c "\copy table to test.csv with CSV" - french character iswrong
List pgsql-sql
On Thursday, November 23, 2017, Emi wrote: > > Tried: > psql -h db1 -U u1 -d d1 -c "\copy t1 to test.csv with CSV ENCODING > 'UTF8' " > Got: \copy: parse error at "encoding" > > You are mixing obsolete and non-obsolete syntax. The current syntax requires parentheses around the with options and all options written as key-value pairs. David J.

pgsql-sql by date:

Previous
From: Emi
Date:
Subject: Re: psql -c "\copy table to test.csv with CSV" - french character iswrong
Next
From: Emi
Date:
Subject: Re: psql -c "\copy table to test.csv with CSV" - french character iswrong