pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: amoroder@sb-brixen.it
To: pgsql-docs@postgresql.org
Subject: Error in documentation
Date: 1 Mar 2002 12:20:40 -0800
Message-ID: <ca1d8f82.0203011220.3c68261e@posting.google.com> (raw)

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



view thread (8+ messages)  latest in thread

Message-ID: <ca1d8f82.0203011220.3c68261e@posting.google.com>
Permalink:  ../ca1d8f82.0203011220.3c68261e@posting.google.com/
Also on:    postgresql.org/message-id/ca1d8f82.0203011220.3c68261e@posting.google.com

 · 

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: amoroder@sb-brixen.it
  Subject: Re: Error in documentation
  In-Reply-To: <ca1d8f82.0203011220.3c68261e@posting.google.com>

* 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