Re: [HACKERS] simplehash.h typo

2017-06-05 Thread Heikki Linnakangas
On 06/05/2017 11:26 AM, Andres Freund wrote: On 2017-06-05 11:10:12 +0300, Heikki Linnakangas wrote: Fixed, thanks. I also fixed and clarified some other comments in the file that seemed wrong or confusing to me. Thanks for looking - I don't see any commit though? Pushed now. Note to self: r

Re: [HACKERS] simplehash.h typo

2017-06-05 Thread Andres Freund
On 2017-06-05 11:10:12 +0300, Heikki Linnakangas wrote: > On 05/28/2017 04:50 AM, Jeff Janes wrote: > > /* round up size to the next power of 2, that's the bucketing works */ > > > > > > That should probably be "that's the **way** bucketing works". Or maybe it > > is an idiom I don't grok.

Re: [HACKERS] simplehash.h typo

2017-06-05 Thread Heikki Linnakangas
On 05/28/2017 04:50 AM, Jeff Janes wrote: /* round up size to the next power of 2, that's the bucketing works */ That should probably be "that's the **way** bucketing works". Or maybe it is an idiom I don't grok. Fixed, thanks. I also fixed and clarified some other comments in the file

[HACKERS] simplehash.h typo

2017-05-27 Thread Jeff Janes
/* round up size to the next power of 2, that's the bucketing works */ That should probably be "that's the **way** bucketing works". Or maybe it is an idiom I don't grok. Cheers, Jeff

Re: [HACKERS] simplehash.h typo fix

2016-10-18 Thread Andres Freund
Hi, On 2016-10-18 09:41:14 +0200, Erik Rijkers wrote: > it's -> its > the the -> the Thanks! Committed. - Andres -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

[HACKERS] simplehash.h typo fix

2016-10-18 Thread Erik Rijkers
it's -> its the the -> the--- ./src/include/lib/simplehash.h.orig 2016-10-18 09:31:22.712028458 +0200 +++ ./src/include/lib/simplehash.h 2016-10-18 09:37:00.050970588 +0200 @@ -256,7 +256,7 @@ return curelem; } -/* return distance between bucket and it's optimal position */ +/* return distanc