pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Introduce minimal C99 usage to verify compiler support.
Date: Fri, 24 Aug 2018 01:41:19 +0000
Message-ID: <E1ft16F-0007FJ-1c@gemulon.postgresql.org> (raw)

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



Message-ID: <E1ft16F-0007FJ-1c@gemulon.postgresql.org>
Permalink:  ../E1ft16F-0007FJ-1c@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ft16F-0007FJ-1c@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de
  Subject: Re: pgsql: Introduce minimal C99 usage to verify compiler support.
  In-Reply-To: <E1ft16F-0007FJ-1c@gemulon.postgresql.org>
  References: <E1ft16F-0007FJ-1c@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox