Re: [PATCH] Remove Extra palloc Of raw_buf For Binary Format In COPY FROM - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCH] Remove Extra palloc Of raw_buf For Binary Format In COPY FROM
Date
Msg-id 2443506.1594491814@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCH] Remove Extra palloc Of raw_buf For Binary Format In COPY FROM  (vignesh C <vignesh21@gmail.com>)
Responses Re: [PATCH] Remove Extra palloc Of raw_buf For Binary Format In COPY FROM  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
List pgsql-hackers
vignesh C <vignesh21@gmail.com> writes:
> On Tue, Jun 30, 2020 at 2:41 PM Bharath Rupireddy
> <bharath.rupireddyforpostgres@gmail.com> wrote:
>> I've added this patch to commitfest - https://commitfest.postgresql.org/28/.

> I felt this patch is ready for committer, changing the status to ready
> for committer.

Pushed with some fiddling.  Mainly, if we're going to the trouble of
checking for binary mode here, we might as well skip allocating the
line_buf too.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: jsonpath versus NaN
Next
From: Mark Dilger
Date:
Subject: Re: Towards easier AMs: Cleaning up inappropriate use of name "relkind"