Take skip header out of a loop in COPY FROM - Mailing list pgsql-hackers

From Surafel Temesgen
Subject Take skip header out of a loop in COPY FROM
Date
Msg-id CALAY4q8epDDY_-9JCG8wp7OfY4AG7O+DSUEnMv=jRoWTsZ1L1Q@mail.gmail.com
Whole thread Raw
Responses Re: Take skip header out of a loop in COPY FROM
List pgsql-hackers

Hello,

Even if skipping header is done only once its checked and skipped in a loop. If I don’t miss something it can be done out side a loop like attached patch

regards

Surafel

Attachment

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Comment in ginpostinglist.c doesn't match code
Next
From: Heikki Linnakangas
Date:
Subject: Re: Take skip header out of a loop in COPY FROM