pgsql: Remove redundant assignments in copyfrom.c

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove redundant assignments in copyfrom.c
Date: 2023-09-09 12:13:02
Message-ID: E1qewpi-0035iQ-I8@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2023-09-11 12:11:12 pgsql: Translation updates
Previous Message Bruce Momjian 2023-09-08 21:25:43 pgsql: doc: remove mention of backslash doubling in strings