pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: tfo@monsterlabs.com
Cc: pgsql-docs@postgresql.org
Subject: Re: tutorial-fk.patch
Date: Mon, 18 Feb 2002 18:45:02 -0500 (EST)
Message-ID: <200202182345.g1INj2c17200@candle.pha.pa.us> (raw)
In-Reply-To: <20020206172410.GA11043@phantom.monsterlabs.com>


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 provide a 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



Message-ID: <200202182345.g1INj2c17200@candle.pha.pa.us>
Permalink:  ../200202182345.g1INj2c17200@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200202182345.g1INj2c17200@candle.pha.pa.us

 · 

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: pgman@candle.pha.pa.us, tfo@monsterlabs.com
  Subject: Re: tutorial-fk.patch
  In-Reply-To: <200202182345.g1INj2c17200@candle.pha.pa.us>

* 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