Re: Values list-of-targetlists patch for comments (was Re: - Mailing list pgsql-docs

From Gavin Sherry
Subject Re: Values list-of-targetlists patch for comments (was Re:
Date
Msg-id Pine.LNX.4.58.0608041042551.16622@linuxworld.com.au
Whole thread Raw
In response to Re: Values list-of-targetlists patch for comments (was Re: [PATCHES]  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Values list-of-targetlists patch for comments (was Re:  (Bruce Momjian <bruce@momjian.us>)
List pgsql-docs
On Thu, 3 Aug 2006, Peter Eisentraut wrote:

> Tom Lane wrote:
> > Should we give VALUES its own reference page?  That doesn't quite
> > seem helpful either.  cc'ing to pgsql-docs for ideas.
>
> This is probably the sort of thing that should be explained part II "The
> SQL Language".  In particular, section 7.2 is about table expressions,
> which this is either a case of or related to.

Yes, good idea.

>
> A few examples on the command references pages to show how it can be
> useful are probably OK, but the big picture shoulbd be developed in
> chapter 7 or so.

What do we want to do about documenting:

regression=# values(1);
 column1
---------
       1
(1 row)

It seems to me that if this isn't in the command reference we'll see an
email every few months say 'is this an undocumented feature?'. We can
cover it easily in Part II, 7.2 but people wont look there. Then again, it
just doesn't seem right to put it in the command reference as a 'top
level' command.

Gavin

pgsql-docs by date:

Previous
From: Gavin Sherry
Date:
Subject: Re: Values list-of-targetlists patch for comments (was Re:
Next
From: Gavin Sherry
Date:
Subject: Re: Values list-of-targetlists patch for comments (was Re: