pg.ddx.io pgsql-sql@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Emi <emilu@encs.concordia.ca>
To: pgsql-sql@lists.postgresql.org
Subject: Re: psql -c "\copy table to test.csv with CSV" - french character is wrong
Date: Fri, 24 Nov 2017 09:47:01 -0500
Message-ID: <d0ce95c8-5f91-91fe-d56d-980421b4382f@encs.concordia.ca> (raw)
In-Reply-To: <CAKFQuwaf=KY4ZXdQKVfp+XQ_oPQCt0t4t2+-pTxEqKAe7axkng@mail.gmail.com>
References: <7c6b8218-bdde-1c0a-2cbf-f817b37c2a2f@encs.concordia.ca>
<CAKFQuwaf=KY4ZXdQKVfp+XQ_oPQCt0t4t2+-pTxEqKAe7axkng@mail.gmail.com>
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.
view thread (5+ messages)
Message-ID: <d0ce95c8-5f91-91fe-d56d-980421b4382f@encs.concordia.ca> Permalink: ../d0ce95c8-5f91-91fe-d56d-980421b4382f@encs.concordia.ca/ Also on: postgresql.org/message-id/d0ce95c8-5f91-91fe-d56d-980421b4382f@encs.concordia.ca ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients using the --to and --cc options: reply via email To: pgsql-sql@postgresql.org Cc: emilu@encs.concordia.ca, pgsql-sql@lists.postgresql.org Subject: Re: psql -c "\copy table to test.csv with CSV" - french character is wrong In-Reply-To: <d0ce95c8-5f91-91fe-d56d-980421b4382f@encs.concordia.ca> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox