RE: Proposal: Make use of C99 designated initialisers for nulls/values arrays

From: "Smith, Peter" <peters(at)fast(dot)au(dot)fujitsu(dot)com>
To: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Cc: Isaac Morland <isaac(dot)morland(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: RE: Proposal: Make use of C99 designated initialisers for nulls/values arrays
Date: 2019-10-02 07:31:48
Message-ID: 201DD0641B056142AC8C6645EC1B5F62014B91C5B2@SYD1217
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> Sent: Wednesday, 2 October 2019 9:42 AM

> I don't have any strong opinion on this, but I would mildly prefer to initialize boolean array with false just for the sake of readability (we generally initializing booleans with false).

Done. Please see attached updated patch.

Kind Regards
--
Peter Smith
Fujitsu Australia

Attachment Content-Type Size
c99_init_nulls_2.patch application/octet-stream 81.9 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2019-10-02 08:38:36 Re: Recovery performance of DROP DATABASE with many tablespaces
Previous Message Stephen Frost 2019-10-02 07:30:38 Re: Standby accepts recovery_target_timeline setting?