pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
To: Shoaib Mir <shoaibmir@gmail.com>
Cc: Postgres SQL language list <pgsql-sql@postgresql.org>
Subject: Re: subquery abnormal behavior
Date: Mon, 11 Dec 2006 12:21:59 +0530
Message-ID: <a97c77030612102251k6acd8bbr46e7363454041301@mail.gmail.com> (raw)
In-Reply-To: <bf54be870612102248j33f63ca1gd89e76d536a0262c@mail.gmail.com>
References: <bf54be870612102248j33f63ca1gd89e76d536a0262c@mail.gmail.com>

On 12/11/06, Shoaib Mir <shoaibmir@gmail.com> wrote:
> I just noticed an abnormal behavior for the subquery:
>
>  create table myt1 (a numeric);
>  create table myt2 (b numeric);
>
>  select a from myt1 where a in (select a from myt2);
>
>  This should be giving an error that column 'a' does not exist in myt2 but
> it runs with any error...
>
>  I had been trying it on 8.2!
Even in 8.1.5 it does not complain. (its not 8.2 specific at least)

Regds
mallah.
>
> Can someone please comment?
>
> Thank you,
> -------------
> Shoaib Mir
> EnterpriseDB (www.enterprisedb.com)
>



view thread (6+ messages)  latest in thread

Message-ID: <a97c77030612102251k6acd8bbr46e7363454041301@mail.gmail.com>
Permalink:  ../a97c77030612102251k6acd8bbr46e7363454041301@mail.gmail.com/
Also on:    postgresql.org/message-id/a97c77030612102251k6acd8bbr46e7363454041301@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: mallah.rajesh@gmail.com, shoaibmir@gmail.com
  Subject: Re: subquery abnormal behavior
  In-Reply-To: <a97c77030612102251k6acd8bbr46e7363454041301@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox