Re: Erratic error message "ERROR: column "id_compte" does - Mailing list pgsql-hackers

From Richard Huxton
Subject Re: Erratic error message "ERROR: column "id_compte" does
Date
Msg-id 42381D48.2060308@archonet.com
Whole thread Raw
In response to Erratic error message "ERROR: column "id_compte" does not exist"  (David Pradier <dpradier@apartia.fr>)
Responses Re: Erratic error message "ERROR: column "id_compte" does
List pgsql-hackers
David Pradier wrote:
> But when i put this query inside another query, i don't have anymore the
> error message :
> select distinct id_operation from compte where id_compte in
> (select id_compte from operation where not compta_g5);
> No error message.

It looks like it's binding to the outer query - where you seem to have 
an id_compte.

--  Richard Huxton  Archonet Ltd


pgsql-hackers by date:

Previous
From: Nicolai Tufar
Date:
Subject: Re: [pgsql-hackers-win32] snprintf causes regression tests to fail
Next
From: Hannu Krosing
Date:
Subject: Re: signed short fd