Re: Bug report

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Кирковский Александр <alex(dot)kirkouski(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug report
Date: 2016-04-30 00:20:59
Message-ID: 5806.1461975659@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

=?koi8-r?B?68nSy8/X08vJyiDhzMXL08HOxNI=?= <alex(dot)kirkouski(at)gmail(dot)com> writes:
> I have a query (it is attached to the letter - bug.script), that do some
> complex calculations using window functions. When the data is stored in
> global tables it works just fine (returns 2711 rows), but when data is in
> temporary tables the query returns 9076 (some rows are duplicated).

I've pushed a fix for this. Many thanks for the reproducible test case!

> I've checked, this bug is not reproduced in PostgreSQL 9.5.2, but I wonder
> if it is coincidence, because the bug is pretty fragile (changing almost any
> join leads to normal behavior), and in 9.5.2 the plan is totally different.

Yeah, it was only accidentally masked in 9.5.

regards, tom lane

In response to

  • Bug report at 2016-04-28 07:17:16 from Кирковский Александр

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2016-04-30 02:01:30 Re: BUG #14103: stored function encryption
Previous Message Andres Freund 2016-04-29 23:58:37 Re: [BUGS] Breakage with VACUUM ANALYSE + partitions