pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Junwang Zhao <zhjwpku@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Modernizing our GUC infrastructure
Date: Mon, 05 Sep 2022 22:48:37 -0400
Message-ID: <3021867.1662432517@sss.pgh.pa.us> (raw)
In-Reply-To: <CAEG8a3+Qf+iaqdtZoLqaLv7i1HYtR0ofn_6vhWDg4ciVhrJvLA@mail.gmail.com>
References: <2982579.1662416866@sss.pgh.pa.us>
	<CAEG8a3+Qf+iaqdtZoLqaLv7i1HYtR0ofn_6vhWDg4ciVhrJvLA@mail.gmail.com>

Junwang Zhao <zhjwpku@gmail.com> writes:
>   /*
> - * Create table with 20% slack
> + * Create hash table with 20% slack
>   */
>   size_vars = num_vars + num_vars / 4;

> Should we change 20% to 25%, I thought that might be
> a typo.

No ... 20% of the allocated space is spare.

			regards, tom lane





view thread (18+ messages)  latest in thread

Message-ID: <3021867.1662432517@sss.pgh.pa.us>
Permalink:  ../3021867.1662432517@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3021867.1662432517@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, zhjwpku@gmail.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: Modernizing our GUC infrastructure
  In-Reply-To: <3021867.1662432517@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox