Re: PATCH: Spinlock Documentation - Mailing list pgsql-hackers

From Robert Haas
Subject Re: PATCH: Spinlock Documentation
Date
Msg-id CA+TgmobdT7gk90Nhr4VXwCMHZmzXourL0_fnBv02iLZ8vNV2Xw@mail.gmail.com
Whole thread Raw
In response to Re: PATCH: Spinlock Documentation  (Artem Luzyanin <lisyonok85@yahoo.ca>)
List pgsql-hackers
On Sat, Apr 11, 2015 at 12:03 PM, Artem Luzyanin <lisyonok85@yahoo.ca> wrote:
> Thank you again for your feedback. I have improved the patch with your
> suggestions. Please let me know what you think and if I can do anything
> else.
>
> Current CommitFest link for this patch is:
> https://commitfest.postgresql.org/5/208/

Some review comments:

- The first hunk in s_lock.h touches only whitespace.  Changing the
space to a tab on the "Usually" line would make sense for consistency,
but adding a trailing space to the "override them" line does not.

- As Tom basically said before, I think the "File layout" block
comment will just get out of date and be a maintenance annoyance to
future updaters of this file.   It's not really that hard to see the
structure of the file just by going through it, so I don't think this
is worthwhile.

- Similarly, adding all of the "Currently implemented" lines looks
useless to me.  Why can't somebody see that from just reading the code
itself?

Overall, I'm not seeing much point to this patch.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Sequence Access Method WIP
Next
From: Robert Haas
Date:
Subject: Re: Parallel Seq Scan