Skip site navigation (1) Skip section navigation (2)

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

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>, pgsql-docs(at)postgresql(dot)org, Joe Conway <mail(at)joeconway(dot)com>
Subject: Re: Values list-of-targetlists patch for comments (was Re: [PATCHES]
Date: 2006-08-04 07:02:09
Message-ID: 200608040902.09945.peter_e@gmx.net (view raw or flat)
Thread:
Lists: pgsql-docspgsql-hackerspgsql-patches
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/

In response to

pgsql-docs by date

Next:From: Simon RiggsDate: 2006-08-04 20:35:09
Subject: Re: Values list-of-targetlists patch for comments (was Re:
Previous:From: Tom LaneDate: 2006-08-04 04:56:26
Subject: Re: VALUES clause memory optimization

pgsql-hackers by date

Next:From: Martijn van OosterhoutDate: 2006-08-04 07:11:07
Subject: Re: 8.2 features status
Previous:From: Dennis BjorklundDate: 2006-08-04 06:27:02
Subject: Re: 8.2 features status

pgsql-patches by date

Next:From: ITAGAKI TakahiroDate: 2006-08-04 09:57:54
Subject: Re: LWLock statistics collector
Previous:From: Tom LaneDate: 2006-08-04 04:56:26
Subject: Re: VALUES clause memory optimization

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group