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

From Peter Eisentraut
Subject Use C99 designated initializers for some structs
Date
Msg-id 4c9f01be-9245-2148-b569-61a8562ef190@2ndquadrant.com
Whole thread Raw
Responses Re: Use C99 designated initializers for some structs
List pgsql-hackers
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?

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Dilip Kumar
Date:
Subject: Re: pg_verify_checksums failure with hash indexes
Next
From: Peter Eisentraut
Date:
Subject: Re: Use C99 designated initializers for some structs