Jeff Davis <pgsql(at)j-davis(dot)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