Re: [HACKERS] Open 6.5 items - Mailing list pgsql-hackers

From Keith Parks
Subject Re: [HACKERS] Open 6.5 items
Date
Msg-id 199906032230.XAA25417@mtcc.demon.co.uk
Whole thread Raw
Responses Re: [HACKERS] Open 6.5 items
List pgsql-hackers
Bruce Momjian <maillist@candle.pha.pa.us>
> 

What's this item? Do we have anything more specific?

> SELECT * FROM test WHERE test IN (SELECT * FROM test) fails with strange error

postgres=> drop table test;
DROP
postgres=> create table test ( test int );
CREATE
postgres=> insert into test values ( 3);
INSERT 148950 1
postgres=> insert into test values ( 2);
INSERT 148951 1
postgres=> insert into test values ( 1);
INSERT 148952 1
postgres=> SELECT * FROM test WHERE test IN (SELECT * FROM test);
test
----  3  2  1
(3 rows)

postgres=>

Looks OK to me.

Keith.



pgsql-hackers by date:

Previous
From: "Hiroshi Inoue"
Date:
Subject: RE: [HACKERS] Open 6.5 items
Next
From: "Hiroshi Inoue"
Date:
Subject: RE: [HACKERS] Open 6.5 items