From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | kbrannen(at)gte(dot)net |
Cc: | pgsql-docs(at)postgresql(dot)org |
Subject: | Re: bug in tutorial docs |
Date: | 2002-06-25 03:36:28 |
Message-ID: | 200206250336.g5P3aSC28814@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
Yes, this has already been corrected. Thanks.
---------------------------------------------------------------------------
kbrannen(at)gte(dot)net wrote:
> Just in case no one else has found it, in the tutorial docs on page
> file:/usr/share/doc/packages/postgresql/html/tutorial-fk.html says:
>
> >>>
> CREATE TABLE weather (
> city varchar(80) references weather,
> temp_lo int,
> temp_hi int,
> prcp real,
> date date
> );
> <<<
>
> and talks about the foreign key insert error. But that did not work when I
> tried it. I believe the doc should say:
>
> >>>
> CREATE TABLE weather (
> city varchar(80) references cities,
> temp_lo int,
> temp_hi int,
> prcp real,
> date date
> );
> <<<
>
> The difference is the table referenced, cities not weather. That does allow
> the example to work.
>
> HTH,
> Kevin Brannen
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>
>
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Oleg Bartunov | 2002-06-30 16:24:05 | english doc for tree module |
Previous Message | kbrannen | 2002-06-23 20:30:22 | bug in tutorial docs |