Re: [HACKERS] Bug on complex join

From: Oleg Broytmann <phd(at)sun(dot)med(dot)ru>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] Bug on complex join
Date: 1999-03-09 09:40:09
Message-ID: Pine.SOL2.3.96.SK.990309123420.18124D-101000@sun.med.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello!

Another symptom. The query

SELECT cn.date_i, cn.pos_id
FROM central cn
WHERE cn.date_i >= current_date - '300 days'::timespan

returns 3156 rows. But this:

SELECT cn.date_i, p.subsec_id, cn.pos_id, p.pos_id
FROM central cn, shops sh, districts d, positions p
WHERE cn.date_i >= current_date - '300 days'::timespan

failed:

pqReadData() -- backend closed the channel unexpectedly.
This probably means the backend terminated abnormally before or while processing the request.
We have lost the connection to the backend, so further processing is impossible. Terminating.

Tables attached (ZIP file with script to recreate tables and SQL
commands).

Oleg.
----
Oleg Broytmann http://members.xoom.com/phd2/ phd2(at)earthling(dot)net
Programmers don't die, they just GOSUB without RETURN.

Attachment Content-Type Size
tables.zip application/zip 3.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Vince Vielhaber 1999-03-09 11:58:37 Re: [HACKERS] Developers globe
Previous Message Oleg Broytmann 1999-03-09 09:33:08 Re: [HACKERS] Bug on complex join