Re: Erratic error message "ERROR: column "id_compte" does

From: Richard Huxton <dev(at)archonet(dot)com>
To: David Pradier <dpradier(at)apartia(dot)fr>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Erratic error message "ERROR: column "id_compte" does
Date: 2005-03-16 14:24:48
Message-ID: 423841B0.8020706@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

David Pradier wrote:
> Actually, the column "id_compte" is the primary key of the table "compte".
> The column "id_compte" doesn't exist in the table "operation".
>
> But i still don't understand why there is no error message, could you
> explain a little more ?

I think it's intended for use in the WHERE clause:
SELECT a.* FROM a WHERE a1 IN (SELECT b3 FROM b WHERE b2=a2)

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Woodward 2005-03-16 14:27:20 Re: PHP stuff
Previous Message Christopher Browne 2005-03-16 13:59:09 Re: Real-Time Vacuum Possibility