pgsql: Remove code handling FORCE_NULL and FORCE_NOT_NULL for COPY TO

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove code handling FORCE_NULL and FORCE_NOT_NULL for COPY TO
Date: 2022-11-02 01:15:32
Message-ID: E1oq2Ls-0002Fl-TM@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8e621c10c73a93e1078ad85fe70fb4478537a798

Modified Files
--------------
src/backend/commands/copyto.c | 46 -------------------------------------------
1 file changed, 46 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2022-11-02 02:30:20 pgsql: Fix outdated comment in tuplesort.h
Previous Message David Rowley 2022-11-02 01:07:30 pgsql: Add doubly linked count list implementation