Re: gen_guc_tables.pl: Validate required GUC fields before code generation
Álvaro Herrera <alvherre@kurilemu.de>
From: Álvaro Herrera <alvherre@kurilemu.de>
To: Chao Li <li.evan.chao@gmail.com>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>, Peter Eisentraut <peter@eisentraut.org>
Date: 2025-11-11T12:28:18Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
gen_guc_tables.pl: Validate required GUC fields before code generation
- 7169c0b96bb8 19 (unreleased) landed
On 2025-Nov-10, Chao Li wrote: > While working on the other patch and editing guc_parameters.dat, I > mistakenly deleted a “max” value line, then I got the following error > during build: > The error message is unclear and is not helpful to identify the real issue. Funny -- I made a very similar mistake recently and was also going to complain about the resulting error message, so +1 for getting it improved along the lines you proposed, plus Ilmari's suggestions. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "Those who use electric razors are infidels destined to burn in hell while we drink from rivers of beer, download free vids and mingle with naked well shaved babes." (http://slashdot.org/comments.pl?sid=44793&cid=4647152)