Re: Modernizing our GUC infrastructure

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Junwang Zhao <zhjwpku(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Modernizing our GUC infrastructure
Date: 2022-09-06 02:48:37
Message-ID: 3021867.1662432517@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Junwang Zhao <zhjwpku(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jaime Casanova 2022-09-06 02:49:45 pg_publication_tables show dropped columns
Previous Message Junwang Zhao 2022-09-06 02:45:47 Re: Modernizing our GUC infrastructure