Re: WITH ... VALUES - Mailing list pgsql-hackers

From Tom Lane
Subject Re: WITH ... VALUES
Date
Msg-id 6492.1266014362@sss.pgh.pa.us
Whole thread Raw
In response to Re: WITH ... VALUES  (Jeff Davis <pgsql@j-davis.com>)
List 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 by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Confusion over Python drivers {license}
Next
From: Tim Bunce
Date:
Subject: PostgreSQL::PLPerl::Call - Simple interface for calling SQL functions from PostgreSQL PL/Perl