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

From: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-docs(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Joe Conway <mail(at)joeconway(dot)com>
Subject: Re: Values list-of-targetlists patch for comments (was Re:
Date: 2006-08-04 00:52:12
Message-ID: Pine.LNX.4.58.0608041042551.16622@linuxworld.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers pgsql-patches

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

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Michael Glaesemann 2006-08-04 01:05:39 Re: Values list-of-targetlists patch for comments (was Re: [PATCHES]
Previous Message Gavin Sherry 2006-08-04 00:42:02 Re: Values list-of-targetlists patch for comments (was Re:

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Glaesemann 2006-08-04 01:05:39 Re: Values list-of-targetlists patch for comments (was Re: [PATCHES]
Previous Message Gavin Sherry 2006-08-04 00:42:02 Re: Values list-of-targetlists patch for comments (was Re:

Browse pgsql-patches by date

  From Date Subject
Next Message Michael Glaesemann 2006-08-04 01:05:39 Re: Values list-of-targetlists patch for comments (was Re: [PATCHES]
Previous Message Gavin Sherry 2006-08-04 00:42:02 Re: Values list-of-targetlists patch for comments (was Re: