Patch already submitted by someone else. Already fixed. Thanks.
---------------------------------------------------------------------------
tfo@monsterlabs.com wrote:
> the tutorial docs have a pretty egregious bug in introducing people to foreign keys, so i figured i'd go ahead and
providea quick patch.
>
> anyway, the offending URL is
>
> http://developer.postgresql.org/docs/postgres/tutorial-fk.html
>
> an example patch is
>
> --- old/tutorial-fk.html Wed Feb 6 10:58:36 2002
> +++ new/tutorial-fk.html Wed Feb 6 11:08:40 2002
> @@ -141,7 +141,7 @@
> );
>
> CREATE TABLE weather (
> - city varchar(80) references weather,
> + city varchar(80) references cities(name),
> temp_lo int,
> temp_hi int,
> prcp real,
> @@ -238,4 +238,4 @@
> ></DIV
> ></BODY
> ></HTML
> ->
> \ No newline at end of file
> +>
>
> enjoy!
>
> -tfo
>
--
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