Received: from candle.pha.pa.us (216-55-132-35.dsl.san-diego.abac.net [216.55.132.35]) by postgresql.org (Postfix) with ESMTP id A154F475CFF for ; Thu, 7 Mar 2002 12:52:41 -0500 (EST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id g27HqMN13654; Thu, 7 Mar 2002 12:52:22 -0500 (EST) From: Bruce Momjian Message-Id: <200203071752.g27HqMN13654@candle.pha.pa.us> Subject: Re: Error in documentation In-Reply-To: To: andreas moroder Date: Thu, 7 Mar 2002 12:52:22 -0500 (EST) Cc: pgsql-docs@postgresql.org X-Mailer: ELM [version 2.4ME+ PL96 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200203/21 X-Sequence-Number: 1302 Yes, I we already fixed this. Don't remember if the fix is in 7.2. In fact, I see this: revision 1.27 date: 2002/02/12 22:25:15; author: momjian; state: Exp; lines: +3 -3 Fix tutorial for references problem, from rainer.tammer@spg.schulergroup.com which means it didn't make it into 7.2. It should be OK in the online docs, and in 7.3. --------------------------------------------------------------------------- andreas moroder wrote: > Hello, > > in the tutorial ( HTML and PDF ) I found the folowing example > > The new declaration of the tables would look like this: > CREATE TABLE cities ( > name varchar(80) primary key, > location point > ); > > Chapter 3. Advanced Features > > CREATE TABLE weather ( > city varchar(80) references weather, > temp_lo int, > temp_hi int, > prcp real, > date date > ); > > Is this ok should the reference not be "references cities" ? > > Bye > Andreas > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026