Re: GUC tables - use designated initializers - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: GUC tables - use designated initializers
Date
Msg-id YzJOG/tRlHCtk9Fc@paquier.xyz
Whole thread Raw
In response to GUC tables - use designated initializers  (Peter Smith <smithpb2250@gmail.com>)
List 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

Attachment

pgsql-hackers by date:

Previous
From: Peter Smith
Date:
Subject: Re: GUC values - recommended way to declare the C variables?
Next
From: Andres Freund
Date:
Subject: Re: [RFC] building postgres with meson - v13