pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Remove bogus dependencies on NUMERIC_MAX_PRECISION.
Date: Tue, 16 Aug 2016 16:03:04 -0400
Message-ID: <24036.1471377784@sss.pgh.pa.us> (raw)
In-Reply-To: <f845d3a6-5328-3e2a-924f-f8e91aa2b6d2@2ndquadrant.com>
References: <E1bZ0jw-0000x9-9c@gemulon.postgresql.org>
	<f845d3a6-5328-3e2a-924f-f8e91aa2b6d2@2ndquadrant.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> On 8/14/16 3:06 PM, Tom Lane wrote:
>> Remove bogus dependencies on NUMERIC_MAX_PRECISION.

> Some compilers are reporting a warning

> dbsize.c:768:3: warning: ignoring return value of ‘strtol’, declared
> with attribute warn_unused_result [-Wunused-result]

Oh fchrissakes.  Do they think it's a security problem, or any kind of
problem at all, if you only use the endptr result?

I guess we'll need the same sort of convoluted dance we use to shut up
this warning elsewhere.  Will deal with it.

			regards, tom lane


-- 
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 (8+ messages)

Message-ID: <24036.1471377784@sss.pgh.pa.us>
Permalink:  ../24036.1471377784@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24036.1471377784@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, peter.eisentraut@2ndquadrant.com
  Subject: Re: pgsql: Remove bogus dependencies on NUMERIC_MAX_PRECISION.
  In-Reply-To: <24036.1471377784@sss.pgh.pa.us>
  References: <E1bZ0jw-0000x9-9c@gemulon.postgresql.org> <f845d3a6-5328-3e2a-924f-f8e91aa2b6d2@2ndquadrant.com> <24036.1471377784@sss.pgh.pa.us>

* 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