mirror of
https://github.com/postgres/postgres.git
synced 2025-05-01 01:04:50 +03: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).
|
option is set to <literal>true</literal> (or equivalent Boolean value).
|
||||||
If this option is set to <literal>MATCH</literal>, the number and names
|
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
|
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.
|
This option is not allowed when using <literal>binary</literal> format.
|
||||||
The <literal>MATCH</literal> option is only valid for <command>COPY
|
The <literal>MATCH</literal> option is only valid for <command>COPY
|
||||||
FROM</command> commands.
|
FROM</command> commands.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user