Re: Use C99 designated initializers for some structs
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2018-08-29T10:14:03Z
Lists: pgsql-hackers
Attachments
- 0001-Use-C99-designated-initializers-for-some-structs.patch (text/plain) patch 0001
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
Commits
-
Use C99 designated initializers for some structs
- 98afa68d9352 12.0 landed