Re: [HACKERS] Open 6.5 items

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Keith Parks <emkxp01(at)mtcc(dot)demon(dot)co(dot)uk>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Open 6.5 items
Date: 1999-06-04 14:15:31
Message-ID: 199906041415.KAA14557@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)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 );

Try this:

create table test(x 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.
>
>

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-06-04 14:37:19 Re: [HACKERS] Open 6.5 items
Previous Message Tom Lane 1999-06-04 14:08:48 Re: [HACKERS] Ye olde "relation doesn't quite exist" problem