From: Кирковский Александр <alex.kirkouski@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: Bug report
Date: Thu, 28 Apr 2016 10:17:16 +0300
Message-ID: <5721b901.52ad1c0a.c220c.1be4@mx.google.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugsAttachments:
bug.script (application/octet-stream, 6.5K) download
bugdb.backup (application/octet-stream, 357.4K) download
bugdbtar.backup (application/octet-stream, 117.6K) download
p952.settings (application/xml, 7.7K) download
p945.plan (application/octet-stream, 12.7K) download
p952.plan (application/octet-stream, 12.1K) download
p945.settings (application/xml, 8.1K) download
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 using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: alex.kirkouski@gmail.com
Subject: Re: Bug report
In-Reply-To: <5721b901.52ad1c0a.c220c.1be4@mx.google.com>
* 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