| From: | "Cepera - n/a -" <cepera(at)hotmail(dot)com> |
|---|---|
| To: | pgsql-docs(at)postgresql(dot)org |
| Subject: | Seems a mistake in tutorial-7.2-A4.pdf file |
| Date: | 2002-03-30 14:57:07 |
| Message-ID: | F60W7huV7L7lSmdtzms00010c9a@hotmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-docs |
Hi,
I'm learning psql reading tutorial-7.2-A4.pdf file and doing
exercise from this document.
It seems there is a mistake in it.
On pages 14-15 of mentioned document it's written:
...<page 14>
The new declaration of the tables would look like this:
CREATE TABLE cities (
name varchar(80) primary key,
location point
);
14
...<page 15>
Chapter 3. Advanced Features
CREATE TABLE weather (
city varchar(80) references weather,
temp_lo int,
temp_hi int,
prcp real,
date date
);
Now try inserting an invalid record:
...
IMHO line `city varchar(80) references weather,'
must be `city varchar(80) references cities,'.
Best regards,
Serge.
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Richard A Lough | 2002-04-02 17:42:24 | Estimating Database Disk Space |
| Previous Message | Peter Eisentraut | 2002-03-28 01:16:29 | Re: pagination in the PostgreSQL 7.2 Programmer's Guide |