pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Hannu Krosing <hannu@tm.ee>
Cc: Robert B. Easter <reaster@comptechnews.com>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: Paul Govereau <pgoverea@akamai.com>
Cc: pgsql-docs@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] Re: Inheritance docs error.
Date: Wed, 03 Jan 2001 11:40:43 -0500
Message-ID: <16435.978540043@sss.pgh.pa.us> (raw)
In-Reply-To: <3A52F14B.10FE6D8C@tm.ee>
References: <Pine.LNX.4.30.0012302007350.776-100000@peter.localdomain>
	<3794.978206926@sss.pgh.pa.us>
	<3A500043.2386D0C3@tm.ee>
	<01010201595503.09559@comptechnews>
	<12912.978457736@sss.pgh.pa.us>
	<3A52F14B.10FE6D8C@tm.ee>

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



view thread (13+ messages)  latest in thread

Message-ID: <16435.978540043@sss.pgh.pa.us>
Permalink:  ../16435.978540043@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16435.978540043@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, hannu@tm.ee, reaster@comptechnews.com, peter_e@gmx.net, pgoverea@akamai.com, pgsql-hackers@postgresql.org
  Subject: Re: [HACKERS] Re: Inheritance docs error.
  In-Reply-To: <16435.978540043@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox