pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tv@fuzzy.cz>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #8451: quantile extension: memory corruption?
Date: Sat, 14 Sep 2013 14:12:09 +0200
Message-ID: <52345299.6040105@fuzzy.cz> (raw)
In-Reply-To: <E1VKVtr-0004tG-4x@wrigleys.postgresql.org>
References: <E1VKVtr-0004tG-4x@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 13.9.2013 18:07, stephane.wustner@lip6.fr wrote:
> The following bug has been logged on the website:
> 
> Bug reference:      8451
> Logged by:          strexxx
> Email address:      stephane.wustner@lip6.fr
> PostgreSQL version: 9.1.9
> Operating system:   Linux 3.8.0-27-generic #40-Ubuntu SMP x86_64
> Description:        
> 
> A query such as this one
> COPY (SELECT e,quantile(EXTRACT(EPOCH
> FROM(d)),ARRAY[0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1]) AS d FROM (SELECT
> e,max(time)-min(time) AS d FROM bb RIGHT JOIN (SELECT s,e FROM ss RIGHT JOIN
> (SELECT e FROM ee WHERE h ~* 'blah') AS i0 USING(e)) AS i0  USING
> (sessionid) GROUP BY e,ei) AS i1 GROUP BY e) TO 'full_path/d.csv' WITH
> CSV;"

Hi,

this seems like a bug in the "quantile" extension, which is developed
and distributed completely separately from PostgreSQL. So pgsql-bugs is
not the right place to report the issue.

I reported the issue on github and I'll look into that today/tomorrow

   https://github.com/tvondra/quantile/issues/4

so far it seems like a trivial bug in handling NULL values.

regards
Tomas


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



view thread (3+ messages)  latest in thread

Message-ID: <52345299.6040105@fuzzy.cz>
Permalink:  ../52345299.6040105@fuzzy.cz/
Also on:    postgresql.org/message-id/52345299.6040105@fuzzy.cz

 · 

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: tv@fuzzy.cz
  Subject: Re: BUG #8451: quantile extension: memory corruption?
  In-Reply-To: <52345299.6040105@fuzzy.cz>
  References: <E1VKVtr-0004tG-4x@wrigleys.postgresql.org> <52345299.6040105@fuzzy.cz>

* 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