pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Jeff Janes <jeff.janes@gmail.com>
Cc: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: obouda@email.cz, Pg Bugs <pgsql-bugs@postgresql.org>
Subject: Re: Wrong aggregate result when sorting by a NULL value
Date: Sun, 04 Nov 2018 18:49:40 -0500
Message-ID: <24674.1541375380@sss.pgh.pa.us> (raw)
In-Reply-To: <20181104234410.f63uu33kfxy2zgjx@alap3.anarazel.de>
References: <32176.1541172886@sss.pgh.pa.us>
	<20181102154050.6prklkv37wdqvilx@alap3.anarazel.de>
	<87y3ab2ykj.fsf@news-spur.riddles.org.uk>
	<20181103055700.etsffelwr2rhrphh@alap3.anarazel.de>
	<20181103215009.slavgzc2kvyhpxlf@alap3.anarazel.de>
	<30989.1541283520@sss.pgh.pa.us>
	<20181103222709.c2hqlbipo7f53nx3@alap3.anarazel.de>
	<20181103230837.6rv63tajaodxmp6j@alap3.anarazel.de>
	<CAMkU=1xTHkS6d0iptCWykHc1Xrh3LBic_gZDo3JzDYru815fLQ@mail.gmail.com>
	<26185.1541348399@sss.pgh.pa.us>
	<20181104234410.f63uu33kfxy2zgjx@alap3.anarazel.de>

Andres Freund <andres@anarazel.de> writes:
> On 2018-11-04 11:19:59 -0500, Tom Lane wrote:
>> Used-for-asserts-only problem.  Will fix.

> Thanks.  I wonder if we shouldn't turn Asserts() into something roughly
> akin to if (0) {expr};. That way we'd not deal with errors about unused
> variables anymore - we're not safe against unreachable code warnings
> anyway.

Meh.  I'm unexcited about getting rid of one type of compiler warning by
introducing another one.

			regards, tom lane




view thread (16+ messages)  latest in thread

Message-ID: <24674.1541375380@sss.pgh.pa.us>
Permalink:  ../24674.1541375380@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24674.1541375380@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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, jeff.janes@gmail.com, andrew@tao11.riddles.org.uk
  Subject: Re: Wrong aggregate result when sorting by a NULL value
  In-Reply-To: <24674.1541375380@sss.pgh.pa.us>
  References: <32176.1541172886@sss.pgh.pa.us> <20181102154050.6prklkv37wdqvilx@alap3.anarazel.de> <87y3ab2ykj.fsf@news-spur.riddles.org.uk> <20181103055700.etsffelwr2rhrphh@alap3.anarazel.de> <20181103215009.slavgzc2kvyhpxlf@alap3.anarazel.de> <30989.1541283520@sss.pgh.pa.us> <20181103222709.c2hqlbipo7f53nx3@alap3.anarazel.de> <20181103230837.6rv63tajaodxmp6j@alap3.anarazel.de> <CAMkU=1xTHkS6d0iptCWykHc1Xrh3LBic_gZDo3JzDYru815fLQ@mail.gmail.com> <26185.1541348399@sss.pgh.pa.us> <20181104234410.f63uu33kfxy2zgjx@alap3.anarazel.de> <24674.1541375380@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