Remove redundant assignments in copyfrom.c
authorMichael Paquier <[email protected]>
Sat, 9 Sep 2023 12:12:41 +0000 (21:12 +0900)
committerMichael Paquier <[email protected]>
Sat, 9 Sep 2023 12:12:41 +0000 (21:12 +0900)
commite434e21e114b423e919324ad6ce1f3f079ca2a03
treed990f432808ceee78dc2398477608afd5add25ad
parent320a27aab6c6797bfb0213b6b7a252da0b33637d
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
src/backend/commands/copyfrom.c