Bug report

From: Кирковский Александр <alex(dot)kirkouski(at)gmail(dot)com>
To: <pgsql-bugs(at)postgresql(dot)org>
Subject: Bug report
Date: 2016-04-28 07:17:16
Message-ID: 5721b901.52ad1c0a.c220c.1be4@mx.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi.

There is some pretty strange behavior in "PostgreSQL 9.4.5, compiled by
Visual C++ build 1800, 64-bit".

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 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.

I've also attached db backup (plain and tar), plans and non-default settings
in both postgresql versions.

Sincerely yours,

Alexander Kirkouski.

Attachment Content-Type Size
bug.script application/octet-stream 6.5 KB
bugdb.backup application/octet-stream 357.4 KB
bugdbtar.backup application/octet-stream 117.6 KB
p952.settings application/xml 7.7 KB
p945.plan application/octet-stream 12.7 KB
p952.plan application/octet-stream 12.1 KB
p945.settings application/xml 8.1 KB

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message yuqiang.liao 2016-04-28 08:41:22 BUG #14118: ERROR: could not read block 0 in file causes the application goes down
Previous Message Thomas Munro 2016-04-28 05:09:22 Re: BUG #14112: sorting v and w is broken with et_EE locate