pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
assertion failure in WITHIN GROUP patch
2+ messages / 2 participants
[nested] [flat]

* assertion failure in WITHIN GROUP patch
@ 2013-12-24 18:59  Jeff Davis <pgsql@j-davis.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Jeff Davis @ 2013-12-24 18:59 UTC (permalink / raw)
  To: pgsql-bugs


create table big(a int);
insert into big select generate_series(10000000,1,-1);
vacuum big;
vacuum big;
select percentile_cont(0.5) within group (order by a) from big;


TRAP: FailedAssertion("!(pointer != ((void*)0))", File: "mcxt.c", Line:
699)
LOG:  server process (PID 18750) was terminated by signal 6: Aborted
DETAIL:  Failed process was running: select percentile_cont(0.5) within
group (order by a) from big;

Regards,
	Jeff Davis




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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: assertion failure in WITHIN GROUP patch
@ 2013-12-24 22:14  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Jeff Davis <pgsql@j-davis.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2013-12-24 22:14 UTC (permalink / raw)
  To: Jeff Davis <pgsql@j-davis.com>; +Cc: pgsql-bugs

Jeff Davis <pgsql@j-davis.com> writes:
> TRAP: FailedAssertion("!(pointer != ((void*)0))", File: "mcxt.c", Line:
> 699)
> LOG:  server process (PID 18750) was terminated by signal 6: Aborted
> DETAIL:  Failed process was running: select percentile_cont(0.5) within
> group (order by a) from big;

Argh.  I'd meant to go back and test that code path in
tuplesort_skiptuples(), but forgot to.  Fixed, thanks.

			regards, tom lane


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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2013-12-24 22:14 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-12-24 18:59 assertion failure in WITHIN GROUP patch Jeff Davis <pgsql@j-davis.com>
2013-12-24 22:14 ` Tom Lane <tgl@sss.pgh.pa.us>

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