Re: ERROR: variable not found in subplan target lists

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ERROR: variable not found in subplan target lists
Дата
Msg-id 24922.1191519189@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: ERROR: variable not found in subplan target lists  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: ERROR: variable not found in subplan target lists  (Gregory Stark <stark@enterprisedb.com>)
Список 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 по дате отправления:

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: ERROR: variable not found in subplan target lists
Следующее
От: Ken.Colson@sage.com
Дата:
Сообщение: Re: good sql tutorial