Re: Remove a unnecessary backslash in CopyFrom

From: Tender Wang <tndrwang(at)gmail(dot)com>
To: Yugo Nagata <nagata(at)sraoss(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Remove a unnecessary backslash in CopyFrom
Date: 2024-11-12 02:58:50
Message-ID: CAHewXNm5m4_rouYK8PNF+0jDJN+mRNJVsTx6aS0SOYm2Gq89FQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Yugo Nagata <nagata(at)sraoss(dot)co(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2024-11-12 03:05:25 Re: Commit Timestamp and LSN Inversion issue
Previous Message Yugo Nagata 2024-11-12 02:46:09 Remove a unnecessary backslash in CopyFrom