From: | kbrannen(at)gte(dot)net |
---|---|
To: | pgsql-docs(at)postgresql(dot)org |
Subject: | bug in tutorial docs |
Date: | 2002-06-23 20:30:22 |
Message-ID: | 3D162FDE.6030002@gte.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
Just in case no one else has found it, in the tutorial docs on page
file:/usr/share/doc/packages/postgresql/html/tutorial-fk.html says:
>>>
CREATE TABLE weather (
city varchar(80) references weather,
temp_lo int,
temp_hi int,
prcp real,
date date
);
<<<
and talks about the foreign key insert error. But that did not work when I
tried it. I believe the doc should say:
>>>
CREATE TABLE weather (
city varchar(80) references cities,
temp_lo int,
temp_hi int,
prcp real,
date date
);
<<<
The difference is the table referenced, cities not weather. That does allow
the example to work.
HTH,
Kevin Brannen
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-06-25 03:36:28 | Re: bug in tutorial docs |
Previous Message | terry | 2002-06-21 11:46:27 | Re: [DOCS] crash problem |