Re: Values list-of-targetlists patch for comments (was Re: [PATCHES]

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Values list-of-targetlists patch for comments (was Re: [PATCHES]
Дата
Msg-id 200608040902.09945.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: Values list-of-targetlists patch for comments (was Re: [PATCHES]  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-docs
Tom Lane wrote:
> Wrong question.  SELECT (for the general case of multi-row results)
> and VALUES are exactly parallel in the SQL grammar; the right
> question is "according to what theory are you allowed to issue a
> general SELECT?"

The "top-level" SELECT for interactive use is

<direct SQL statement> ::= <directly executable statement> <semicolon>

<directly executable statement> ::= <direct SQL data statement> | ...

<direct SQL data statement> ::= <direct select statement: multiple rows> | ...

But this actually does resolve as just VALUES (something), so nevermind.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] Values list-of-targetlists patch for comments (was Re:
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Values list-of-targetlists patch for comments (was Re: