pgsql: Introduce minimal C99 usage to verify compiler support.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Introduce minimal C99 usage to verify compiler support.
Date: 2018-08-24 01:41:19
Message-ID: E1ft16F-0007FJ-1c@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2018-08-24 05:48:24 Re: pgsql: Fix configure's snprintf test so it exposes HP-UX bug.
Previous Message Michael Paquier 2018-08-24 00:16:20 pgsql: Add more tests for VACUUM skips with partitioned tables