Re: documentation for SQL "COPY" says "FORMAT"

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: randumbloggr(at)gmail(dot)com
Cc: "pgsql-docs(at)postgresql(dot)org" <pgsql-docs(at)postgresql(dot)org>
Subject: Re: documentation for SQL "COPY" says "FORMAT"
Date: 2017-12-06 00:11:16
Message-ID: CAKFQuwZyOAjDO=Qg5xYaZvD72d6bVCF3K_A4njbu8RBJrbRXow@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Tue, Dec 5, 2017 at 5:01 PM, <randumbloggr(at)gmail(dot)com> wrote:

> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/9.0/static/sql-copy.html
> Description:
>
> the documentation for the copy command (since version 9.0) says to use the
> keyword &quot;FORMAT&quot; , this keyword should be omitted (eg: say
> &quot;CSV&quot; instead of
> &quot;FORMAT CSV&quot;) . It also says the default is &quot;text&quot; but
> specifying &quot;text&quot; is
> a syntax error.
>

I'm pretty sure the docs are correct. You should provide the exact
commands you think should work and the error message you receive when you
execute said commands.

David J.

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2017-12-06 00:18:35 Re: documentation for SQL "COPY" says "FORMAT"
Previous Message randumbloggr 2017-12-06 00:01:59 documentation for SQL "COPY" says "FORMAT"