mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-23 19:39:53 +08:00
doc: mention that COPY MATCH requires columns _in_ _order_
Question asked at SCaLE conference. Reported-by: doc suggestion by Stephen Frost Backpatch-through: 15
This commit is contained in:
parent
0b039e3a84
commit
356dd2ce5b
@ -280,7 +280,7 @@ COPY { <replaceable class="parameter">table_name</replaceable> [ ( <replaceable
|
||||
option is set to <literal>true</literal> (or equivalent Boolean value).
|
||||
If this option is set to <literal>MATCH</literal>, the number and names
|
||||
of the columns in the header line must match the actual column names of
|
||||
the table, otherwise an error is raised.
|
||||
the table, in order; otherwise an error is raised.
|
||||
This option is not allowed when using <literal>binary</literal> format.
|
||||
The <literal>MATCH</literal> option is only valid for <command>COPY
|
||||
FROM</command> commands.
|
||||
|
Loading…
Reference in New Issue
Block a user