Re: A small tweak to some comments for PartitionKeyData

From: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>
To: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: A small tweak to some comments for PartitionKeyData
Date: 2018-10-25 04:05:34
Message-ID: 7a45adfe-a623-eb0c-6f90-a3e0469ae7a6@lab.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2018/10/25 12:54, David Rowley wrote:
> On 25 October 2018 at 16:46, Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp> wrote:
>> + * key, one for each zero-valued partattrs */
>>
>> How about: for each zero-valued member of partattrs?
>
> Aren't arrays made up of elements? I did have "element" on the end,
> but I didn't think it was worth having the extra line caused by the 80
> line length limit, so I deleted it.
>
> Seems "element" is mentioned 73 times in [1], but "member" does not
> get a mention.
>
> [1] https://en.wikipedia.org/wiki/Array_data_structure

I thought they can be used interchangeably, but perhaps not.

Anyway, it's just that "each zero-valued partattrs" sounds a bit odd to
me, especially because it you seem to be referring to the previous array
field 'partattrs'. It would've sounded better with "each zero-valued
partition attribute", for example, but again that's too long for the line too.

Thanks,
Amit

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2018-10-25 04:13:43 Re: A small tweak to some comments for PartitionKeyData
Previous Message David Rowley 2018-10-25 03:54:58 Re: A small tweak to some comments for PartitionKeyData