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

From: Joe Nelson <joe(at)begriffs(dot)com>
To: Isaac Morland <isaac(dot)morland(at)gmail(dot)com>
Cc: "Smith, Peter" <peters(at)fast(dot)au(dot)fujitsu(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 16:22:33
Message-ID: 20191002162233.5vr6sbstgohh3c3e@begriffs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> If so, I don't suppose it's possible to give empty braces:
>
> bool nulls[Natts_pg_attribute] = {};

GNU does add this capability as a nonstandard language extension, but
according to the C99 standard, no.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2019-10-02 16:31:15 Re: Possible bug: SQL function parameter in window frame definition
Previous Message Andrew Gierth 2019-10-02 16:20:11 Re: Possible bug: SQL function parameter in window frame definition