Add error about the use of FREEZE in COPY TO

Bruce Momjian <bruce@momjian.us>

Commit: acc95f29efd4f8aa60eb72a838bfd3c979fb1c5b
Author: Bruce Momjian <bruce@momjian.us>
Date: 2023-11-13T17:53:03Z
Releases: 17.0
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

Files

PathChange+/−
doc/src/sgml/ref/copy.sgml modified +1 −0
src/backend/commands/copy.c modified +19 −13
src/test/regress/expected/copy2.out modified +6 −6

Documentation touched