From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove code handling FORCE_NULL and FORCE_NOT_NULL for COPY TO
Date: Wed, 02 Nov 2022 01:15:32 +0000
Message-ID: <E1oq2Ls-0002Fl-TM@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz
Subject: Re: pgsql: Remove code handling FORCE_NULL and FORCE_NOT_NULL for COPY TO
In-Reply-To: <E1oq2Ls-0002Fl-TM@gemulon.postgresql.org>
References: <E1oq2Ls-0002Fl-TM@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox