Re: Use C99 designated initializers for some structs - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Use C99 designated initializers for some structs
Date
Msg-id fbce0307-8c2b-f19a-ca1a-cc6ced52fd9c@2ndquadrant.com
Whole thread Raw
In response to Use C99 designated initializers for some structs  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: Use C99 designated initializers for some structs
List 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

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Use C99 designated initializers for some structs
Next
From: Vladimir Sitnikov
Date:
Subject: Re: Stored procedures and out parameters