Re: WITH ... VALUES

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: WITH ... VALUES
Дата
Msg-id 6492.1266014362@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: WITH ... VALUES  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-hackers
Jeff Davis <pgsql@j-davis.com> writes:
> On Fri, 2010-02-12 at 16:59 -0500, Tom Lane wrote:
>> AFAICT there isn't any actual use case for this because you can't
>> reference the WITH clause from the body of VALUES:

>   with tmp2 as (select a + 1 as b from tmp)
>     values((select b from tmp2));

Ah, sneaky.  Never mind that then.
        regards, tom lane


В списке pgsql-hackers по дате отправления: