pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Typo in PG 7.2.1 Tutorial PDF
2+ messages / 2 participants
[nested] [flat]

* Typo in PG 7.2.1 Tutorial PDF
@ 2002-05-15 09:02  Lennart Goedhart <lennart@omnibase.com.au>
  0 siblings, 1 reply; 2+ messages in thread

From: Lennart Goedhart @ 2002-05-15 09:02 UTC (permalink / raw)
  To: pgsql-docs

Section 3.3 - Foreign Keys

CREATE TABLE weather (
    city varchar(80) references weather,
    temp_lo int,
    temp_hi int,
    prcp real,
    date date
);


Should read:

CREATE TABLE weather (
    city varchar(80) references cities,
    temp_lo int,
    temp_hi int,
    prcp real,
    date date
);


Lennart Goedhart

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Typo in PG 7.2.1 Tutorial PDF
@ 2002-06-06 16:47  Bruce Momjian <pgman@candle.pha.pa.us>
  parent: Lennart Goedhart <lennart@omnibase.com.au>
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 2002-06-06 16:47 UTC (permalink / raw)
  To: Lennart Goedhart <lennart@omnibase.com.au>; +Cc: pgsql-docs


Yes, this is known and fixed.

---------------------------------------------------------------------------

Lennart Goedhart wrote:
> Section 3.3 - Foreign Keys
> 
> CREATE TABLE weather (
>     city varchar(80) references weather,
>     temp_lo int,
>     temp_hi int,
>     prcp real,
>     date date
> );
> 
> 
> Should read:
> 
> CREATE TABLE weather (
>     city varchar(80) references cities,
>     temp_lo int,
>     temp_hi int,
>     prcp real,
>     date date
> );
> 
> 
> Lennart Goedhart

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2002-06-06 16:47 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-05-15 09:02 Typo in PG 7.2.1 Tutorial PDF Lennart Goedhart <lennart@omnibase.com.au>
2002-06-06 16:47 ` Bruce Momjian <pgman@candle.pha.pa.us>

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