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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-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 http://yi.org/peter-e/

In response to

Responses

Browse pgsql-docs by date

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

Browse pgsql-hackers by date

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