Re: sub-select trouble: wrong SQL or PostgreSQL issue? - Mailing list pgsql-sql

From Tom Lane
Subject Re: sub-select trouble: wrong SQL or PostgreSQL issue?
Date
Msg-id 8629.1035430081@sss.pgh.pa.us
Whole thread Raw
In response to Re: sub-select trouble: wrong SQL or PostgreSQL issue?  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Responses Re: sub-select trouble: wrong SQL or PostgreSQL issue?
List pgsql-sql
>> Is it possible that the sub-selects are somehow
>> affecting the result sets?

> I think you want to upgrade, 7.3beta at least gives your
> expected output on all the queries when I tried it.  I don't
> currently have a 7.2.* system to test on here to try it
> with that series.

I think this may be the same problem as bug #526,
http://archives.postgresql.org/pgsql-bugs/2001-11/msg00168.php
If so, the fix is in 7.2.*.
        regards, tom lane


pgsql-sql by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: sub-select trouble: wrong SQL or PostgreSQL issue?
Next
From: Ludwig Lim
Date:
Subject: Simulating a SELECT..FOR UPDATE to LOCK and SELECT statement