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/ ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend