Обсуждение: VALUES lists aliases

Поиск
Список
Период
Сортировка

VALUES lists aliases

От
Greg Smith
Дата:
Next from the stream of doc comments, someone points out that if you
read http://www.postgresql.org/docs/current/static/queries-values.html a
beginner may not understand just what " table alias list" means.  If you
start at the beginning of the chapter it makes more sense, but it isn't
necessarily obvious even then.

Easiest fix is to demonstrate this by example, so that's what the
attached patch adds.  There was an example of this approach in the full
documentation of VALUES already, but I felt that one was too complicated
for a tutorial section.

--
Greg Smith   2ndQuadrant US    greg@2ndQuadrant.com   Baltimore, MD
PostgreSQL Training, Services, and 24x7 Support www.2ndQuadrant.com


Вложения

Re: VALUES lists aliases

От
Peter Eisentraut
Дата:
On Tue, 2013-05-21 at 12:18 -0400, Greg Smith wrote:
> Next from the stream of doc comments, someone points out that if you
> read http://www.postgresql.org/docs/current/static/queries-values.html a
> beginner may not understand just what " table alias list" means.  If you
> start at the beginning of the chapter it makes more sense, but it isn't
> necessarily obvious even then.
>
> Easiest fix is to demonstrate this by example, so that's what the
> attached patch adds.  There was an example of this approach in the full
> documentation of VALUES already, but I felt that one was too complicated
> for a tutorial section.

committed