Correlated subselect in regression test - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Correlated subselect in regression test
Date
Msg-id 200506081205.29970.peter_e@gmx.net
Whole thread Raw
Responses Re: Correlated subselect in regression test
List pgsql-hackers
The regression test file subselect.sql contains the following query under the 
heading "Correlated subselects":

SELECT '' AS five, f1 AS "Correlated Field" FROM SUBSELECT_TBL WHERE (f1, f2) IN (SELECT f2, CAST(f3 AS int4) FROM
SUBSELECT_TBL                   WHERE f3 IS NOT NULL);
 

It has been pointed out to me that there is no correlation in this query.  Is 
there some other special purpose to this query or is it simply categorized 
wrongly?

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: linuxtag 2005
Next
From: Atsushi Ogawa
Date:
Subject: Re: [PATCHES] regexp_replace