Re: [HACKERS] Fix warnings and typo in dshash
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2018-03-02T00:29:57Z
Lists: pgsql-hackers
On 2018-02-12 09:23:43 +1300, Thomas Munro wrote: > On Mon, Sep 4, 2017 at 2:18 PM, Amit Kapila <amit.kapila16@gmail.com> wrote: > > On Sun, Sep 3, 2017 at 2:56 PM, Thomas Munro > > <thomas.munro@enterprisedb.com> wrote: > >> I think it should be (size_t) 1, not UINT64CONST(1). See attached. > > > > Okay, that makes sense. Do you think we should also change type > > casting in BUCKETS_PER_PARTITION so that we are consistent? > > +1 > > Here's a patch to fix that. I was reminded to come back and tidy this > up when I spotted a silly mistake in a nearby comment, also fixed in > this patch. Pushed. Thanks, Andres
Commits
-
Minor clean-up in dshash.{c,h}.
- 17b340abf83d 11.0 landed
-
Suppress compiler warnings in dshash.c.
- 4faa1dc2eb02 11.0 landed
-
Fix macro-redefinition warning on MSVC.
- e451901804bd 11.0 landed
- d5c65d2f11ac 10.0 landed
- a64a0bfaae0c 9.2.24 landed
- a4b0a4d437dc 9.6.6 landed
- a42f8d979299 9.3.20 landed
- 1d30553aa235 9.5.10 landed
- 143fcf90b158 9.4.15 landed