Introduce minimal C99 usage to verify compiler support.
This just converts a few for loops in postgres.c to declare variables
in the loop initializer, and uses designated initializers in smgr.c's
definition of smgr callbacks.
Author: Andres Freund
Discussion: https://postgr.es/m/[email protected]
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/143290efd0795b61ed2c8358fc1767e799140047
Modified Files
--------------
src/backend/storage/smgr/smgr.c | 21 ++++++++++++++++++---
src/backend/tcop/postgres.c | 25 +++++++------------------
2 files changed, 25 insertions(+), 21 deletions(-)