Re: Re: [DOCS] Inheritance docs error.

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: Re: [DOCS] Inheritance docs error.
Дата
Msg-id 3A52F14B.10FE6D8C@tm.ee
обсуждение исходный текст
Ответ на Re: [DOCS] Inheritance docs error.  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Re: [DOCS] Inheritance docs error.  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Re: [DOCS] Inheritance docs error.  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Tom Lane wrote:
>
> One thing that bothered me is that my reading of the SQL99 draft
> disallows the UNDER syntax you are using.  I read:
>
>          <table definition> ::=
>               CREATE [ <table scope> ] TABLE <table name>
>                 <table contents source>
>                 [ ON COMMIT <table commit action> ROWS ]
>
>          <table contents source> ::=
>                 <table element list>
>               | OF <user-defined type>
>                   [ <subtable clause> ]
>                   [ <table element list> ]
>
>          <subtable clause> ::=
>               UNDER <supertable clause>
>
>          <supertable clause> ::= <supertable name>
>
> It looks to me like "UNDER <table name>" cannot appear without a
> preceding "OF <user-defined type>".  I am not clear on the semantic
> implications of the OF clause.

to me it seems that only this is OR-d : <table element list> | OF
<user-defined type>

and the rest ([ <subtable clause> ],[ <table element list> ])is just
optional

> Anyway, we seem to have a clear consensus to pull the UNDER clause from
> the grammar and stick with INHERITS for 7.1.  I will take care of that
> in the next day or so.

Good.

-----------
Hannu

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Please review TODO list
Следующее
От: Frank Joerdens
Дата:
Сообщение: Re: [INTERFACES] Re: PHP and PostgreSQL