Remove code handling FORCE_NULL and FORCE_NOT_NULL for COPY TO

Michael Paquier <michael@paquier.xyz>

Commit: 8e621c10c73a93e1078ad85fe70fb4478537a798
Author: Michael Paquier <michael@paquier.xyz>
Date: 2022-11-02T01:15:19Z
Releases: 16.0
Remove code handling FORCE_NULL and FORCE_NOT_NULL for COPY TO

These two options are only available with COPY FROM, so the extra logic
in charge of checking the validity of the attributes given has no
purpose.

Author: Zhang Mingli
Reviewed-by: Richard Guo, Kyotaro Horiguchi
Discussion: https://postgr.es/m/F28F0B5A-766F-4D33-BF44-43B3A052D833@gmail.com

Files

PathChange+/−
src/backend/commands/copyto.c modified +0 −46

Discussion