pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josep Lladonosa i Capell <jep@jep.dhis.org>
To: pgsql-docs@postgresql.org
Subject: postgresql 7.2 tutorial has a 'bug'
Date: Sat, 16 Feb 2002 03:18:05 +0100
Message-ID: <3C6DC15D.B2FBB4E5@jep.dhis.org> (raw)

...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/
--






Message-ID: <3C6DC15D.B2FBB4E5@jep.dhis.org>
Permalink:  ../3C6DC15D.B2FBB4E5@jep.dhis.org/
Also on:    postgresql.org/message-id/3C6DC15D.B2FBB4E5@jep.dhis.org

 · 

reply

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: jep@jep.dhis.org
  Subject: Re: postgresql 7.2 tutorial has a 'bug'
  In-Reply-To: <3C6DC15D.B2FBB4E5@jep.dhis.org>

* 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