Re: gen_guc_tables.pl: Validate required GUC fields before code generation

Поиск
Список
Период
Сортировка
От Álvaro Herrera
Тема Re: gen_guc_tables.pl: Validate required GUC fields before code generation
Дата
Msg-id 202511101226.g6ztjd3kpai4@alvherre.pgsql
обсуждение исходный текст
Ответ на gen_guc_tables.pl: Validate required GUC fields before code generation  (Chao Li <li.evan.chao@gmail.com>)
Список pgsql-hackers
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)



В списке pgsql-hackers по дате отправления: