Re: Modernizing our GUC infrastructure
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Junwang Zhao <zhjwpku@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-09-06T02:48:37Z
Lists: pgsql-hackers
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
Commits
-
Add auxiliary lists to GUC data structures for better performance.
- f13b2088fa2d 16.0 landed
-
Replace the sorted array of GUC variables with a hash table.
- 3057465acfbe 16.0 landed
-
Store GUC data in a memory context, instead of using malloc().
- 407b50f2d421 16.0 landed
-
Make some minor improvements in memory-context infrastructure.
- 9c911ec065df 16.0 landed