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

From Emi
Subject Re: psql -c "\copy table to test.csv with CSV" - french character iswrong
Date
Msg-id d0ce95c8-5f91-91fe-d56d-980421b4382f@encs.concordia.ca
Whole thread Raw
In response to Re: psql -c "\copy table to test.csv with CSV" - french character is wrong  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-sql
Hello, > > > Tried: > psql -c "\copy t1 to test.csv with CSV ENCODING 'UTF8' " > Got: \copy: parse error at "encoding" > > > mixing obsolete and non-obsolete syntax. requires parentheses around > with options and all options written as key-value pairs. I think you mean 9.x. My version is 8.x, and doc shows ENCODING 'encoding_name' only for 9.x. I will use stdout for 8.x. Thanks.

pgsql-sql by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: psql -c "\copy table to test.csv with CSV" - french character is wrong
Next
From: Andreas Joseph Krogh
Date:
Subject: Not counting duplicates of declared pratition in OVER()-clause