Seems a mistake in tutorial-7.2-A4.pdf file
От | Cepera - n/a - |
---|---|
Тема | Seems a mistake in tutorial-7.2-A4.pdf file |
Дата | |
Msg-id | F60W7huV7L7lSmdtzms00010c9a@hotmail.com обсуждение исходный текст |
Ответы |
Re: Seems a mistake in tutorial-7.2-A4.pdf file
|
Список | 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
В списке pgsql-docs по дате отправления: