Re: Improve readability by using designated initializers when possible - Mailing list pgsql-hackers

From Japin Li
Subject Re: Improve readability by using designated initializers when possible
Date
Msg-id ME3P282MB31661BCBE1DE003B381484AAB6222@ME3P282MB3166.AUSP282.PROD.OUTLOOK.COM
Whole thread Raw
In response to Re: Improve readability by using designated initializers when possible  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Improve readability by using designated initializers when possible
List pgsql-hackers
On Mon, 04 Mar 2024 at 07:46, Michael Paquier <michael@paquier.xyz> wrote:
> On Fri, Mar 01, 2024 at 06:30:10AM +0100, Jelte Fennema-Nio wrote:
>> On Fri, 1 Mar 2024 at 06:08, Michael Paquier <michael@paquier.xyz> wrote:
>>> Mostly OK to me.  Just note that this comment is incorrect because
>>> pg_enc2gettext_tbl[] includes elements in the range
>>> [PG_SJIS,_PG_LAST_ENCODING_[  ;)
>>
>> fixed
>
> (Forgot to update this thread.)
> Thanks, applied this one.  I went over a few versions of the comment
> in pg_wchar.h, and tweaked it to something that was of one of the
> previous versions, I think.

Hi,

Attach a patch to rewrite dispatch_table array using C99-designated
initializer syntax.


Attachment

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: pg_upgrade --copy-file-range
Next
From: Dean Rasheed
Date:
Subject: Re: bug report: some issues about pg_15_stable(8fa4a1ac61189efffb8b851ee77e1bc87360c445)