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

Re: Inheritance docs error.

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Paul Govereau <pgoverea(at)akamai(dot)com>, <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Inheritance docs error.
Date: 2000-12-30 19:12:32
Message-ID: Pine.LNX.4.30.0012302007350.776-100000@peter.localdomain (view raw or flat)
Thread:
Lists: pgsql-docspgsql-hackers
Tom Lane writes:

> Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> >> It seems that the last one is correct -- or at least works for me.
>
> > They are all correct:  UNDER is the new SQL99 syntax, INHERITS is the
> > traditional Postgres syntax.
>
> Current docs do appear to be erroneous: they claim the UNDER phrase goes
> where INHERIT does, which is not what the grammar thinks.  I haven't
> looked at SQL99 to see which is right.

The grammar appears to be correct to the extent that SQL99 wants the UNDER
before the column list, so I corrected the documentation at that point.
However, the syntax as a whole is not SQL99-compliant.

-- 
Peter Eisentraut      peter_e(at)gmx(dot)net       http://yi.org/peter-e/


In response to

Responses

pgsql-docs by date

Next:From: Tom LaneDate: 2000-12-30 20:08:46
Subject: Re: Inheritance docs error.
Previous:From: Tom LaneDate: 2000-12-30 18:05:05
Subject: Re: Inheritance docs error.

pgsql-hackers by date

Next:From: Tom LaneDate: 2000-12-30 19:24:38
Subject: Re: oid failures on Alpha solved
Previous:From: Tom LaneDate: 2000-12-30 18:15:07
Subject: Re: pgsql/src (Makefile.global.in)

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