Re: 'bug' in the postgresql tutorial

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: 'bug' in the postgresql tutorial
Дата
Msg-id 3C750999.4AA03130@fourpalms.org
обсуждение исходный текст
Ответы Re: 'bug' in the postgresql tutorial  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-docs
> I sent a mail about a 'bug' in the last tutorial of  Postgresql. Sent it
> to pgsql-docs@postgresql.org and no one told me...

Hmm. Sorry, I didn't see the post.

> ...perhaps am I the first one who finds an error in the Chapter 3, (3.3
> Foreign Keys) in the new tutorial?
> ...........................................................
> 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'? ;-)

Yes, I'll make the change. Thanks for letting us know.

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

Glad you found it better. It looks like Peter E did the improvements...

                  - Thomas

В списке pgsql-docs по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: tutorial-fk.patch
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 'bug' in the postgresql tutorial