pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Provide overflow safe integer math inline functions.
Date: Wed, 13 Dec 2017 11:10:37 +0100
Message-ID: <20171213101037.GA28753@msg.df7cb.de> (raw)
In-Reply-To: <E1eOvQF-00075r-Cy@gemulon.postgresql.org>
References: <E1eOvQF-00075r-Cy@gemulon.postgresql.org>

Re: Andres Freund 2017-12-13 <E1eOvQF-00075r-Cy@gemulon.postgresql.org>
> Provide overflow safe integer math inline functions.

The new _overflow functions have buggy comments:

/*
 * If a - b overflows, return true, otherwise store the result of a + b into
 * *result.                                                         ^ there

Christoph




view thread (16+ messages)  latest in thread

Message-ID: <20171213101037.GA28753@msg.df7cb.de>
Permalink:  ../20171213101037.GA28753@msg.df7cb.de/
Also on:    postgresql.org/message-id/20171213101037.GA28753@msg.df7cb.de

 · 

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: myon@debian.org, andres@anarazel.de
  Subject: Re: pgsql: Provide overflow safe integer math inline functions.
  In-Reply-To: <20171213101037.GA28753@msg.df7cb.de>
  References: <E1eOvQF-00075r-Cy@gemulon.postgresql.org> <20171213101037.GA28753@msg.df7cb.de>

* 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