Re: docs: WITH queries and VALUES

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: docs: WITH queries and VALUES
Date: 2012-04-12 10:08:25
Message-ID: 20120412100825.GM1267@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

* Magnus Hagander (magnus(at)hagander(dot)net) wrote:
> with_query_name [ ( column_name [, ...] ) ] AS ( select | insert |
> update | delete )
>
>
> Should that list that you can use values as well? Or is it something
> we generally consider "wherever select works you can use values"?
>
> (I ran into it because it's what comes up when you do \h WITH, so I
> got the question of "why is values not supported for with". but it
> is..)

TABLE also works there, and here:

[ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] select ]

and here:

( select ) [ AS ] alias [ ( column_alias [, ...] ) ]

Not sure if it's worth fixing, just something I noticed.

Thanks,

Stephen

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2012-04-12 12:45:02 Re: Last gasp
Previous Message Magnus Hagander 2012-04-12 09:59:25 docs: WITH queries and VALUES