Re: Remove a unnecessary backslash in CopyFrom - Mailing list pgsql-hackers

From Tender Wang
Subject Re: Remove a unnecessary backslash in CopyFrom
Date
Msg-id CAHewXNm5m4_rouYK8PNF+0jDJN+mRNJVsTx6aS0SOYm2Gq89FQ@mail.gmail.com
Whole thread Raw
Responses Re: Remove a unnecessary backslash in CopyFrom
List pgsql-hackers


Yugo Nagata <nagata@sraoss.co.jp> 于2024年11月12日周二 10:46写道:
Hi,

I found a unnecessary backslash in CopyFrom().

            if (cstate->opts.reject_limit > 0 && \
                cstate->num_errors > cstate->opts.reject_limit)

It can be removed because this is not in a macro.
I've attached a patch.

Yeah, agree. The patch LGTM. 

--
Thanks,
Tender Wang

pgsql-hackers by date:

Previous
From: Peter Smith
Date:
Subject: Re: Skip collecting decoded changes of already-aborted transactions
Next
From: Amit Kapila
Date:
Subject: Re: Commit Timestamp and LSN Inversion issue