Fix comments in gistxlogDelete, xl_heap_freeze_page and xl_btree_delete

Started by Bertrand Drouvotalmost 4 years ago7 messageshackers
Jump to latest
#1Bertrand Drouvot
bertranddrouvot.pg@gmail.com

Hi hackers,

Please find attached a patch to $SUBJECT.

The wrong comments have been discovered by Robert in [1]/messages/by-id/CA+TgmoYTTsxP8y6uknZvCBNCRq+1FJ4zGbX8Px1TGW459fGsaQ@mail.gmail.com.

Submitting this here as a separate thread so it does not get lost in the logical decoding
on standby thread.

[1]: /messages/by-id/CA+TgmoYTTsxP8y6uknZvCBNCRq+1FJ4zGbX8Px1TGW459fGsaQ@mail.gmail.com

Looking forward to your feedback,

Regards,

--
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

Attachments:

v1-0001-fix-some-comments.patchtext/plain; charset=UTF-8; name=v1-0001-fix-some-comments.patchDownload+10-8
#2Bertrand Drouvot
bertranddrouvot.pg@gmail.com
In reply to: Bertrand Drouvot (#1)
Re: Fix comments in gistxlogDelete, xl_heap_freeze_page and xl_btree_delete

Hi,

On 1/6/23 11:05 AM, Drouvot, Bertrand wrote:

Hi hackers,

Please find attached a patch to $SUBJECT.

The wrong comments have been discovered by Robert in [1].

Submitting this here as a separate thread so it does not get lost in the logical decoding
on standby thread.

[1]: /messages/by-id/CA+TgmoYTTsxP8y6uknZvCBNCRq+1FJ4zGbX8Px1TGW459fGsaQ@mail.gmail.com

Looking forward to your feedback,

Regards,

It looks like I did not create a CF entry for this one: fixed with [1]https://commitfest.postgresql.org/43/4235/.

Also, while at it, adding a commit message in V2 attached.

[1]: https://commitfest.postgresql.org/43/4235/

Regards,

--
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

Attachments:

v2-0001-Fix-comments-in-gistxlogDelete-xl_heap_freeze_pag.patchtext/plain; charset=UTF-8; name=v2-0001-Fix-comments-in-gistxlogDelete-xl_heap_freeze_pag.patchDownload+10-9
#3Amit Kapila
amit.kapila16@gmail.com
In reply to: Bertrand Drouvot (#2)
Re: Fix comments in gistxlogDelete, xl_heap_freeze_page and xl_btree_delete

On Thu, Mar 2, 2023 at 6:35 PM Drouvot, Bertrand
<bertranddrouvot.pg@gmail.com> wrote:

On 1/6/23 11:05 AM, Drouvot, Bertrand wrote:

Hi hackers,

Please find attached a patch to $SUBJECT.

The wrong comments have been discovered by Robert in [1].

Submitting this here as a separate thread so it does not get lost in the logical decoding
on standby thread.

[1]: /messages/by-id/CA+TgmoYTTsxP8y6uknZvCBNCRq+1FJ4zGbX8Px1TGW459fGsaQ@mail.gmail.com

Looking forward to your feedback,

Regards,

It looks like I did not create a CF entry for this one: fixed with [1].

Also, while at it, adding a commit message in V2 attached.

LGTM.

--
With Regards,
Amit Kapila.

#4Bertrand Drouvot
bertranddrouvot.pg@gmail.com
In reply to: Amit Kapila (#3)
Re: Fix comments in gistxlogDelete, xl_heap_freeze_page and xl_btree_delete

Hi,

On 3/3/23 12:30 PM, Amit Kapila wrote:

On Thu, Mar 2, 2023 at 6:35 PM Drouvot, Bertrand
<bertranddrouvot.pg@gmail.com> wrote:

On 1/6/23 11:05 AM, Drouvot, Bertrand wrote:

Hi hackers,

Please find attached a patch to $SUBJECT.

The wrong comments have been discovered by Robert in [1].

Submitting this here as a separate thread so it does not get lost in the logical decoding
on standby thread.

[1]: /messages/by-id/CA+TgmoYTTsxP8y6uknZvCBNCRq+1FJ4zGbX8Px1TGW459fGsaQ@mail.gmail.com

Looking forward to your feedback,

Regards,

It looks like I did not create a CF entry for this one: fixed with [1].

Also, while at it, adding a commit message in V2 attached.

LGTM.

Thanks for having looked at it!

Regards,

--
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

#5Robert Haas
robertmhaas@gmail.com
In reply to: Bertrand Drouvot (#4)
Re: Fix comments in gistxlogDelete, xl_heap_freeze_page and xl_btree_delete

On Fri, Mar 3, 2023 at 11:28 AM Drouvot, Bertrand
<bertranddrouvot.pg@gmail.com> wrote:

Thanks for having looked at it!

+1. Committed.

--
Robert Haas
EDB: http://www.enterprisedb.com

#6Bertrand Drouvot
bertranddrouvot.pg@gmail.com
In reply to: Robert Haas (#5)
Re: Fix comments in gistxlogDelete, xl_heap_freeze_page and xl_btree_delete

Hi,

On 3/3/23 6:53 PM, Robert Haas wrote:

On Fri, Mar 3, 2023 at 11:28 AM Drouvot, Bertrand
<bertranddrouvot.pg@gmail.com> wrote:

Thanks for having looked at it!

+1. Committed.

Thanks!

Not a big deal, but the commit message that has been used is not 100% accurate.

Indeed, for gistxlogDelete, that's the other way around (as
compare to what the commit message says).

Regards,

--
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

#7Robert Haas
robertmhaas@gmail.com
In reply to: Bertrand Drouvot (#6)
Re: Fix comments in gistxlogDelete, xl_heap_freeze_page and xl_btree_delete

On Sat, Mar 4, 2023 at 3:33 AM Drouvot, Bertrand
<bertranddrouvot.pg@gmail.com> wrote:

Indeed, for gistxlogDelete, that's the other way around (as
compare to what the commit message says).

Woops. Good point.

--
Robert Haas
EDB: http://www.enterprisedb.com