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

Re: Inheritance docs error.

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Paul Govereau <pgoverea(at)akamai(dot)com>
Cc: <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Inheritance docs error.
Date: 2000-12-30 14:47:20
Message-ID: Pine.LNX.4.30.0012301543410.776-100000@peter.localdomain (view raw, whole thread or download thread mbox)
Lists: pgsql-docspgsql-hackers
Paul Govereau writes:

> I have noticed some errors in the 7.1 Documentation.
> Specifically, in the sections involving inheritance.
> In Chapter 8. it shows syntax of:
>  create table <name> UNDER <name> ( ... )
> In Reference Manual CREATE TABLE shows syntax of:
>  create table <name> ( ... ) under <name>
> In psql, \h create table shows syntax of:
>  create table <name> ( ... ) inherits (<name>)
> 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.  The reason that psql \h shows the old syntax
is that the current snapshots are distributed with the old (7.0)
documentation, whereas you probably got the first two things off the web.

Peter Eisentraut      peter_e(at)gmx(dot)net

In response to


pgsql-docs by date

Next:From: Tom LaneDate: 2000-12-30 18:05:05
Subject: Re: Inheritance docs error.
Previous:From: Peter EisentrautDate: 2000-12-30 14:33:04
Subject: Re: Rather incorrect text in admin guide

pgsql-hackers by date

Next:From: mlwDate: 2000-12-30 15:17:21
Subject: Re: GNU readline and BSD license
Previous:From: Brent VernerDate: 2000-12-30 14:00:09
Subject: oid failures on Alpha solved

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