COPY statement: no list of the allowed values for "format_name"

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: bryn(at)yugabyte(dot)com
Subject: COPY statement: no list of the allowed values for "format_name"
Date: 2020-10-29 17:59:00
Message-ID: 160399434025.7807.3621430784359007064@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/11/sql-copy.html
Description:

Look at the account of the COPY statement, here:

https://www.postgresql.org/docs/11/sql-copy.html

and see this:

«
[ [ WITH ] ( option [, ...] ) ]
»

It goes on to say this:

«
where option can be one of:

FORMAT format_name
»

But there's no list of the allowed values for "format_name". The same holds
for other options like, for example, "encoding_name".

I tried to provoke the list by using "with (format 'dog')". I got the 22023
error:

«
COPY format "dog" not recognized
»

But there was no list of the allowed values.

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message PG Doc comments form 2020-10-29 18:20:20 What does "[backends] should seldom or never need to wait for a write to occur" mean?
Previous Message Daniel Westermann (DWE) 2020-10-28 09:14:50 Re: Wrong example in the bloom documentation