1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Add error about the use of FREEZE in COPY TO

Also clarify some other error wording.

Reported-by: Kyotaro Horiguchi

Discussion: https://postgr.es/m/20220802.133046.1941977979333284049.horikyota.ntt@gmail.com

Backpatch-through: master
This commit is contained in:
Bruce Momjian
2023-11-13 12:53:03 -05:00
parent 103ed24e31
commit acc95f29ef
3 changed files with 26 additions and 19 deletions

View File

@ -224,6 +224,7 @@ COPY { <replaceable class="parameter">table_name</replaceable> [ ( <replaceable
open and there are no older snapshots held by this transaction. It is
currently not possible to perform a <command>COPY FREEZE</command> on
a partitioned table.
This option is only allowed in <command>COPY FROM</command>.
</para>
<para>
Note that all other sessions will immediately be able to see the data