Re: [HACKERS] Subselects are in CVS...

From: ocie(at)paracel(dot)com
To: vadim(at)sable(dot)krasnoyarsk(dot)su (Vadim B(dot) Mikheev)
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Subselects are in CVS...
Date: 1998-02-13 18:14:34
Message-ID: 9802131814.AA28986@dolomite.paracel.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Impressive, just one comment:

> 5. I need in advice: if subquery introduced with NOT IN doesn't return
> any tuples then qualification is failed, yes ?

I think this is backwards. Consider the following statements:

"1 not in (1,2)" FALSE
"1 not in (2)" TRUE
"1 not in ()" ?

I would tend to think that the ? should be TRUE. I.E. every value
qualifies as not in an empty list of tuples. The second item was
true, so why should removing the 2 from the list make the statement
false?

Ocie Mitchell

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-02-13 18:25:15 Re: [HACKERS] v6.3 snapshot core dump
Previous Message The Hermit Hacker 1998-02-13 17:43:31 Re: [HACKERS] Unsubscribe