Re: Modernizing our GUC infrastructure
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2022-09-05T23:50:22Z
Lists: pgsql-hackers
Andres Freund <andres@anarazel.de> writes: > It's only half related, but since we're talking about renovating guc.c: I > think it'd be good if we split the list of GUCs from the rest of the guc > machinery. Both for humans and compilers it's getting pretty large. And > commonly one either wants to edit the definition of GUCs or wants to edit the > GUC machinery. I don't mind doing that, but it seems like an independent patch. 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