copy: remove duplicated check
Which was introduced in a refactor commit while merging upstream.
@@ -4207,11 +4207,6 @@ CopyFrom(CopyState cstate)
*/
if (!cstate->on_segment)
{
- /*
- * Send QD->QE header to all segments except:
- * dummy file on master for COPY FROM ON SEGMENT
- */
- if (!cstate->on_segment)
SendCopyFromForwardedHeader(cstate, cdbCopy);
}
}
