From: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Use C99 designated initializers for some structs |
Date: | 2018-08-29 10:14:03 |
Message-ID: | fbce0307-8c2b-f19a-ca1a-cc6ced52fd9c@2ndquadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 29/08/2018 12:13, Peter Eisentraut wrote:
> Here is a patch to change some struct initializations to use C99-style
> designated initializers. These are just a few particularly egregious
> cases that were hard to read and write, and error prone because of many
> similar adjacent types.
>
> (The PL/Python changes currently don't compile with Python 3 because of
> the situation described in the parallel thread "PL/Python: Remove use of
> simple slicing API".)
>
> Thoughts?
and with the actual patch
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Attachment | Content-Type | Size |
---|---|---|
0001-Use-C99-designated-initializers-for-some-structs.patch | text/plain | 28.1 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Vladimir Sitnikov | 2018-08-29 10:18:41 | Re: Stored procedures and out parameters |
Previous Message | Peter Eisentraut | 2018-08-29 10:13:07 | Use C99 designated initializers for some structs |