]> granicus.if.org Git - postgresql/commit
Introduce minimal C99 usage to verify compiler support.
authorAndres Freund <andres@anarazel.de>
Fri, 24 Aug 2018 01:36:07 +0000 (18:36 -0700)
committerAndres Freund <andres@anarazel.de>
Fri, 24 Aug 2018 01:36:07 +0000 (18:36 -0700)
commit143290efd0795b61ed2c8358fc1767e799140047
treec16295173f1654d7d7f4ede4c7ef1aa7c5c90a01
parentd9dd406fe281d22d5238d3c26a7182543c711e74
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/97d4b165-192d-3605-749c-f614a0c4e783@2ndquadrant.com
src/backend/storage/smgr/smgr.c
src/backend/tcop/postgres.c