Remove code handling FORCE_NULL and FORCE_NOT_NULL for COPY TO
Michael Paquier <michael@paquier.xyz>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/copyto.c | modified | +0 −46 |
Discussion
- [Refactor]Avoid to handle FORCE_NOT_NULL/FORCE_NULL options when COPY TO 12 messages · 2022-07-26 → 2022-11-02