pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove redundant assignments in copyfrom.c
Date: Sat, 09 Sep 2023 12:13:02 +0000
Message-ID: <E1qewpi-0035iQ-I8@gemulon.postgresql.org> (raw)

Remove redundant assignments in copyfrom.c

The tuple descriptor and the number of attributes are assigned twice to
the same values in BeginCopyFrom(), for what looks like a small thinko
coming from the refactoring done in c532d15dddff1.

Author: Jingtang Zhang
Discussion: https://postgr.es/m/CAPsk3_CrYeXUVHEiaWAYxY9BKiGvGT3AoXo_+Jm0xP_s_VmXCA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e434e21e114b423e919324ad6ce1f3f079ca2a03

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



Message-ID: <E1qewpi-0035iQ-I8@gemulon.postgresql.org>
Permalink:  ../E1qewpi-0035iQ-I8@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1qewpi-0035iQ-I8@gemulon.postgresql.org

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove redundant assignments in copyfrom.c
  In-Reply-To: <E1qewpi-0035iQ-I8@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