Remove code handling FORCE_NULL and FORCE_NOT_NULL for COPY TO
authorMichael Paquier <michael@paquier.xyz>
Wed, 2 Nov 2022 01:15:19 +0000 (10:15 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 2 Nov 2022 01:15:19 +0000 (10:15 +0900)
commit8e621c10c73a93e1078ad85fe70fb4478537a798
treead48ed95dbbd88dbc2a42aea64e4a852410f39b0
parent7c335b7a20278079e796d62122ef4b821c7fcdf5
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
src/backend/commands/copyto.c