Re: [HACKERS] Re: Inheritance docs error.
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Hannu Krosing <hannu@tm.ee>
Cc: "Robert B. Easter" <reaster@comptechnews.com>, Peter Eisentraut <peter_e@gmx.net>, Paul Govereau <pgoverea@akamai.com>, pgsql-docs@postgresql.org, pgsql-hackers@postgresql.org
Date: 2001-01-03T16:40:43Z
Lists: pgsql-hackers
Hannu Krosing <hannu@tm.ee> writes: > Tom Lane wrote: > > <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 The grammar is less than perfectly clear, isn't it? But that reading just doesn't make any sense, because it would allow <table contents source> to be (among other things) <table element list> <table element list> which I am sure is not what they intend. The last line has to be part of the second alternative, it seems to me, and therefore the next-to-last line is too. regards, tom lane