From: shweta.bhandari@gmail.com
To: pgsql-docs@postgresql.org
Subject: Postgres copy command
Date: Fri, 16 Dec 2016 14:37:49 +0000
Message-ID: <20161216143749.13338.34884@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-docs>
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/9.1/static/sql-copy.html
Description:
When exporting table data to csv boolean value true is written as 't' and
false as 'f'.
Also I am not able to add quotes to any of the values.
Following is the command I am using
COPY "OldModel"."Skills__c" TO
'D:\CopyOutCommandResults\Skill_Category__c.csv' DELIMITER ',' CSV HEADER
QUOTE '"'
--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
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-docs@postgresql.org
Cc: shweta.bhandari@gmail.com
Subject: Re: Postgres copy command
In-Reply-To: <20161216143749.13338.34884@wrigleys.postgresql.org>
* 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