Re: ERROR: variable not found in subplan target lists - Mailing list pgsql-general

From Tom Lane
Subject Re: ERROR: variable not found in subplan target lists
Date
Msg-id 24922.1191519189@sss.pgh.pa.us
Whole thread Raw
In response to Re: ERROR: variable not found in subplan target lists  ("Joshua D. Drake" <jd@commandprompt.com>)
Responses Re: ERROR: variable not found in subplan target lists
List pgsql-general
"Joshua D. Drake" <jd@commandprompt.com> writes:
> Tom Lane wrote:
>> such a hokey query (how many applications really write "WHERE false"?),

> Granted this isn't WHERE FALSE, but I certainly see WHERE TRUE all the
> time in similar scenarios and I have seen WHERE FALSE.

In what context?   Either "WHERE TRUE AND ..." or "WHERE FALSE OR ..."
strike me as perfectly sensible, but "WHERE FALSE AND ..." doesn't
seem to have obvious usefulness.

            regards, tom lane

pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: ERROR: variable not found in subplan target lists
Next
From: Ken.Colson@sage.com
Date:
Subject: Re: good sql tutorial