pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: Re: pgsql: Fix integer-overflow problems in interval comparison.
Date: Mon, 17 Apr 2017 12:39:31 -0400
Message-ID: <4a192a84-9004-2263-6447-0fef95e18fa6@2ndquadrant.com> (raw)
In-Reply-To: <E1cvySh-0006pk-UM@gemulon.postgresql.org>
References: <E1cvySh-0006pk-UM@gemulon.postgresql.org>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

On 4/5/17 23:51, Tom Lane wrote:
> Fix integer-overflow problems in interval comparison.

> Branch
> ------
> REL9_4_STABLE
> 
> Details
> -------
> http://git.postgresql.org/pg/commitdiff/8851bcf8813baa0ea393ef9d2894d15b3f13f957
> 
> Modified Files
> --------------
> src/backend/utils/adt/timestamp.c      |  65 ++++++++--
> src/include/common/int128.h            | 231 +++++++++++++++++++++++++++++++++
> src/test/regress/expected/interval.out |  64 +++++++++
> src/test/regress/sql/interval.sql      |  27 ++++
> 4 files changed, 376 insertions(+), 11 deletions(-)

This is failing cpluspluscheck now because C++ does not have
_Static_assert, which is used in int128.h.

I suppose this header is not intended for public consumption, at least
in the back branches, so it would be OK to exclude it from the check.
Perhaps a different solution would be appropriate in master.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



view thread (7+ messages)  latest in thread

Message-ID: <4a192a84-9004-2263-6447-0fef95e18fa6@2ndquadrant.com>
Permalink:  ../4a192a84-9004-2263-6447-0fef95e18fa6@2ndquadrant.com/
Also on:    postgresql.org/message-id/4a192a84-9004-2263-6447-0fef95e18fa6@2ndquadrant.com

 · 

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: peter.eisentraut@2ndquadrant.com, tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Fix integer-overflow problems in interval comparison.
  In-Reply-To: <4a192a84-9004-2263-6447-0fef95e18fa6@2ndquadrant.com>
  References: <E1cvySh-0006pk-UM@gemulon.postgresql.org> <4a192a84-9004-2263-6447-0fef95e18fa6@2ndquadrant.com>

* 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