pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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 &#39;t&#39; and
false as &#39;f&#39;. 

Also I am not able to add quotes to any of the values. 

Following is the command I am using 
COPY &quot;OldModel&quot;.&quot;Skills__c&quot; TO
&#39;D:\CopyOutCommandResults\Skill_Category__c.csv&#39; DELIMITER &#39;,&#39; CSV HEADER
QUOTE &#39;&quot;&#39;

-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs


Message-ID: <20161216143749.13338.34884@wrigleys.postgresql.org>
Permalink:  ../20161216143749.13338.34884@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20161216143749.13338.34884@wrigleys.postgresql.org

 · 

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-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