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
pgsql-docs by date
|Next:||From: Tom Lane||Date: 2000-12-30 18:05:05|
|Subject: Re: Inheritance docs error. |
|Previous:||From: Peter Eisentraut||Date: 2000-12-30 14:33:04|
|Subject: Re: Rather incorrect text in admin guide|
pgsql-hackers by date
|Next:||From: mlw||Date: 2000-12-30 15:17:21|
|Subject: Re: GNU readline and BSD license|
|Previous:||From: Brent Verner||Date: 2000-12-30 14:00:09|
|Subject: oid failures on Alpha solved|