Re: Division in dynahash.c due to HASH_FFACTOR - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: Division in dynahash.c due to HASH_FFACTOR
Date
Msg-id CA+hUKGJS6_d4dxmLs6xw8osu5bB1P8Dx9qqj1j4yk-sRT68cDw@mail.gmail.com
Whole thread Raw
In response to Re: Division in dynahash.c due to HASH_FFACTOR  (Thomas Munro <thomas.munro@gmail.com>)
Responses Re: Division in dynahash.c due to HASH_FFACTOR
List pgsql-hackers
On Tue, Sep 15, 2020 at 9:56 AM Thomas Munro <thomas.munro@gmail.com> wrote:
> > I looked over the patch and the only thing I saw was that we might
> > also want to remove the following line:
> >
> > #define DEF_FFACTOR    1 /* default fill factor */
>
> Right, thanks.  Fixed in the attached.

Pushed.  Thanks Jakub, everyone.

Separately, we really should tidy up the int/long/uint32/size_t
confusion in this module.  I know we have K&R C-era long-itude in
numerous other modules, but this one is a little more egregious in its
data type mixing.



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pg_service.conf file with iso-8859-1 parameters
Next
From: Robert Haas
Date:
Subject: Re: factorial function/phase out postfix operators?