Re: Thinko/typo in ExecSimpleRelationInsert - Mailing list pgsql-hackers

From Ashutosh Bapat
Subject Re: Thinko/typo in ExecSimpleRelationInsert
Date
Msg-id CAFjFpRewd8RN7OxZFn5C1v_zLNJEYjeQY+6OfX2g4F+vPuXJug@mail.gmail.com
Whole thread Raw
In response to Re: Thinko/typo in ExecSimpleRelationInsert  (Amit Kapila <amit.kapila16@gmail.com>)
Responses Re: Thinko/typo in ExecSimpleRelationInsert
List pgsql-hackers
On Tue, Jun 26, 2018 at 6:18 PM, Amit Kapila <amit.kapila16@gmail.com> wrote:
> On Tue, Jun 26, 2018 at 4:33 PM, Ashutosh Bapat
> <ashutosh.bapat@enterprisedb.com> wrote:
>> Looks like we need similar adjustment in ExecSimpleRelationUpdate() as
>> well. Updated the patch.
>>
>
> - /* Store the slot into tuple that we can write. */
> + /* Materialize slot into a tuple that we can inspect. */
>   tuple = ExecMaterializeSlot(slot);
>
> I think it is better to keep the last word of the sentence as "write"
> instead of "inspect" as was in the original sentence.

A copy-pasto while correcting a typo :)

> It makes more
> sense as we are materializing the tuple to write it.  Similarly, in
> the other change in the patch can use "write".

Are you suggesting that we should use "write" in the modified comment
instead of "inspect" in original comment.

Ok, I have now corrected grammar as well. Here's updated patch.

-- 
Best Wishes,
Ashutosh Bapat
EnterpriseDB Corporation
The Postgres Database Company

Attachment

pgsql-hackers by date:

Previous
From: Sergei Kornilov
Date:
Subject: Re: Online enabling of checksums
Next
From: Jerry Jelinek
Date:
Subject: patch to allow disable of WAL recycling