Re: GUC tables - use designated initializers

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: GUC tables - use designated initializers
Дата
Msg-id YzJOG/tRlHCtk9Fc@paquier.xyz
обсуждение исходный текст
Ответ на GUC tables - use designated initializers  (Peter Smith <smithpb2250@gmail.com>)
Список pgsql-hackers
On Tue, Sep 27, 2022 at 09:27:48AM +1000, Peter Smith wrote:
> But why not use designated initializers to enforce what the comments
> are hoping for?

This is a C99 thing as far as I understand, adding one safety net.
Why not for these cases..

> Doing this also exposed a minor typo in the comments.
> "ERROR_HANDLING" -> "ERROR_HANDLING_OPTIONS"

Right.
--
Michael

Вложения

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

Предыдущее
От: Peter Smith
Дата:
Сообщение: Re: GUC values - recommended way to declare the C variables?
Следующее
От: Andres Freund
Дата:
Сообщение: Re: [RFC] building postgres with meson - v13