Обсуждение: postgresql 7.2 tutorial has a 'bug'

Поиск
Список
Период
Сортировка

postgresql 7.2 tutorial has a 'bug'

От
Josep Lladonosa i Capell
Дата:
...perhaps am I the first one who finds an error in the Chapter 3, (3.3
Foreign Keys) in the new tutorial?


The example says:

...........................................................
CREATE TABLE cities (
name varchar(80) primary key,
location point
);


CREATE TABLE weather (
city varchar(80) references weather,
temp_lo int,
temp_hi int,
prcp real,
date date
);
........................................................................

shouldn't it say 'references cities'? ;-)


Distribution-explanation in new tutorial seems more practical than the
others before. Congratulations!

--
Salutacions...Josep
http://www.geocities.com/SiliconValley/Horizon/1065/
--