Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] Re: Inheritance docs error.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Hannu Krosing <hannu(at)tm(dot)ee>
Cc: "Robert B(dot) Easter" <reaster(at)comptechnews(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Paul Govereau <pgoverea(at)akamai(dot)com>, pgsql-docs(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] Re: Inheritance docs error.
Date: 2001-01-03 16:40:43
Message-ID: 16435.978540043@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-docspgsql-hackers
Hannu Krosing <hannu(at)tm(dot)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

In response to

pgsql-docs by date

Next:From: Tim UckunDate: 2001-01-03 16:44:40
Subject: Re: Re: RE: Re: MySQL and PostgreSQL speed compare
Previous:From: Tom LaneDate: 2001-01-03 16:24:46
Subject: Re: Postgres ignoring RTree for geometric operators

pgsql-hackers by date

Next:From: Peter EisentrautDate: 2001-01-03 16:54:26
Subject: Re: [HACKERS] Re: Inheritance docs error.
Previous:From: Peter EisentrautDate: 2001-01-03 16:00:36
Subject: Re: Please review TODO list

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group