From: Cepera - n/a - <cepera@hotmail.com>
To: pgsql-docs@postgresql.org
Subject: Seems a mistake in tutorial-7.2-A4.pdf file
Date: Sat, 30 Mar 2002 14:57:07 +0000
Message-ID: <F60W7huV7L7lSmdtzms00010c9a@hotmail.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: cepera@hotmail.com
Subject: Re: Seems a mistake in tutorial-7.2-A4.pdf file
In-Reply-To: <F60W7huV7L7lSmdtzms00010c9a@hotmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox