Re: BUG #14232: Possible mistake in the documentation

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: BUG #14232: Possible mistake in the documentation
Дата
Msg-id CAKFQuwZC5SkCobik2f9ANoRx5bM-3qdkn2fpVXVoyq2MUfGpvA@mail.gmail.com
обсуждение исходный текст
Ответ на BUG #14232: Possible mistake in the documentation  (aouda.h@me.com)
Ответы Re: BUG #14232: Possible mistake in the documentation  (Hicham AOUDA <aouda.h@me.com>)
Список pgsql-bugs
On Wednesday, July 6, 2016, <aouda.h@me.com> wrote:

> The following bug has been logged on the website:
>
> Bug reference:      14232
> Logged by:          Hicham Aouda
> Email address:      aouda.h@me.com <javascript:;>
> PostgreSQL version: 9.5.3
> Operating system:   All
> Description:
>
> On page 1151  43.3.4. Composite Types
> of  the pdf documentation for 9.5.3
> I suspect a mistake:
>
> it should be :
>
> CREATE TYPE  employee AS (
> name text,
> salary integer,
> age integer );
>
> and not
>
> CREATE TABLE  employee (
> name text,
> salary integer,
> age integer );
>
>
>
It's functionally correct.  Every table you create automatically has a type
of the same name and structure.

David J.

В списке pgsql-bugs по дате отправления:

Предыдущее
От: aouda.h@me.com
Дата:
Сообщение: BUG #14232: Possible mistake in the documentation
Следующее
От: Hicham AOUDA
Дата:
Сообщение: Re: BUG #14232: Possible mistake in the documentation