1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-24 14:22:24 +03:00

Fix tutorial for references problem, from rainer.tammer@spg.schulergroup.com

This commit is contained in:
Bruce Momjian
2002-02-12 22:25:15 +00:00
parent fa8a73caad
commit 28108b391b

View File

@ -1,5 +1,5 @@
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/advanced.sgml,v 1.26 2001/11/23 21:08:51 tgl Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/advanced.sgml,v 1.27 2002/02/12 22:25:15 momjian Exp $
-->
<chapter id="tutorial-advanced">
@ -103,12 +103,12 @@ SELECT * FROM myview;
<programlisting>
CREATE TABLE cities (
name varchar(80) primary key,
city varchar(80) primary key,
location point
);
CREATE TABLE weather (
city varchar(80) references weather,
city varchar(80) references cities,
temp_lo int,
temp_hi int,
prcp real,