pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <rhaas@postgresql.org>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Fix multi-column range partitioning constraints.
Date: Sat, 13 May 2017 15:46:04 -0400
Message-ID: <17902.1494704764@sss.pgh.pa.us> (raw)
In-Reply-To: <E1d9Z6b-0008KO-UK@gemulon.postgresql.org>
References: <E1d9Z6b-0008KO-UK@gemulon.postgresql.org>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Robert Haas <rhaas@postgresql.org> writes:
> Fix multi-column range partitioning constraints.

Newer gcc versions are not very happy with this:

partition.c: In function 'get_qual_from_partbound':
partition.c:1642:18: warning: 'partexprs_item_saved' may be used uninitialized in this function [-Wmaybe-uninitialized]
   partexprs_item = partexprs_item_saved;
   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
partition.c:1500:8: note: 'partexprs_item_saved' was declared here
       *partexprs_item_saved;
        ^~~~~~~~~~~~~~~~~~~~

$ gcc -v
gcc version 6.3.1 20161221 (Red Hat 6.3.1-1) (GCC) 

Please fix.

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

Message-ID: <17902.1494704764@sss.pgh.pa.us>
Permalink:  ../17902.1494704764@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/17902.1494704764@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, rhaas@postgresql.org
  Subject: Re: pgsql: Fix multi-column range partitioning constraints.
  In-Reply-To: <17902.1494704764@sss.pgh.pa.us>
  References: <E1d9Z6b-0008KO-UK@gemulon.postgresql.org> <17902.1494704764@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