Received: from golem.fourpalms.org (fourpalms.org [64.3.68.148]) by postgresql.org (Postfix) with ESMTP id 14987475994 for ; Thu, 21 Feb 2002 09:52:06 -0500 (EST) Received: from fourpalms.org (localhost.localdomain [127.0.0.1]) by golem.fourpalms.org (Postfix) with ESMTP id 81C2AFEC5; Thu, 21 Feb 2002 14:52:09 +0000 (UTC) Message-ID: <3C750999.4AA03130@fourpalms.org> Date: Thu, 21 Feb 2002 14:52:09 +0000 From: Thomas Lockhart Reply-To: lockhart@fourpalms.org Organization: Yes X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.17-21mdksmp i686) X-Accept-Language: en MIME-Version: 1.0 To: jlladono@pie.xtec.es Cc: pgsql-docs@postgresql.org Subject: Re: 'bug' in the postgresql tutorial References: <3C74F893.DEE2652E@jep.dhis.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200202/24 X-Sequence-Number: 1253 > 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