Re: Re: [DOCS] Inheritance docs error.
От | Peter Eisentraut |
---|---|
Тема | Re: Re: [DOCS] Inheritance docs error. |
Дата | |
Msg-id | Pine.LNX.4.30.0101031750250.1310-100000@peter.localdomain обсуждение исходный текст |
Ответ на | Re: Re: [DOCS] Inheritance docs error. (Hannu Krosing <hannu@tm.ee>) |
Список | pgsql-hackers |
Hannu Krosing writes: > > <table contents source> ::= > > <table element list> > > | OF <user-defined type> > > [ <subtable clause> ] > > [ <table element list> ] > 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 Nope. In that case it would read <table contents source> ::= { <table element list> | OF <user-defined type> } [ <subtable clause> ] [ <table element list> ] because ISO/IEC 9075-1:1999 section 6.1 says: | The alternative operator. The vertical bar indicates that the portion of the formula following the bar is an alternative to the portion preceding the bar. If the vertical bar appears at a position where it is not enclosed in braces or square brackets, it specifies a complete alternative for the element defined by the production rule. If the vertical bar appears in a portion of a formula enclosed in braces or square brackets, it specifies alternatives for the contents of the innermost pair of such braces or brackets. -- Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/
В списке pgsql-hackers по дате отправления: