Re: [HACKERS] taking stdbool.h into use
Michael Paquier <michael.paquier@gmail.com>
From: Michael Paquier <michael.paquier@gmail.com>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Alvaro Herrera <alvherre@alvh.no-ip.org>, pgsql-hackers <pgsql-hackers@postgresql.org>, Thomas Munro <thomas.munro@enterprisedb.com>, Kevin Grittner <kgrittn@gmail.com>
Date: 2018-02-01T06:47:00Z
Lists: pgsql-hackers
On Wed, Jan 24, 2018 at 03:44:04PM +0900, Michael Paquier wrote: > Good catch. Coverage reports mark those areas as empty! Similarly the > functions for record_* are mostly not used. Some tests could be added > for them at the same time. The four error paths of those functions are > tested as well, which is cool to see. Even if the buildfarm explodes > after 0002 and 0003, 0001 is still a good addition. The set looks good > to me by the way. OK, so those have been committed as a61116d, 0b5e33f6 and a6ef00b5 for the record. The last steps would be to: - Introduce bool8 for catalogs. - Address GinTernaryValue. - Integrate stdbool.h. Peter, are you planning to work on that for the next CF? -- Michael
Commits
-
Use stdbool.h if suitable
- 9a95a77d9d5d 11.0 landed
-
Add configure tests for stdbool.h and sizeof bool
- f20b3285340c 11.0 landed
-
Remove useless use of bit-masking macros
- d91da5ecedc8 11.0 landed
-
Change various Gin*Is* macros to return 0/1.
- af4472bcb88a 9.6.0 cited
-
Fix several possibly non-portable gaffs in record_image_ops.
- 4cbb646334b3 9.4.0 cited