Documentation

From: sraimbault(at)concept-iid(dot)fr
To: pgsql-bugs(at)postgresql(dot)org
Subject: Documentation
Date: 2002-05-03 12:10:14
Message-ID: 1020427814.3cd27e26ce0aa@imp.pro.proxad.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi,

Section 3.3, tutorial-fk.html

CREATE TABLE cities (
name varchar(80) primary key,
location point
);

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

You have written 'references weather' instead of 'references cities'.

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

On postgreSQL 7.1.3:

Line 9 refers to 'advanced' instead of 'syscat' in syscat.py

1 >>> import syscat
2
3 __________________________________________________________________
4 MODULE SYSCAT.PY : PARSES SOME POSTGRESQL SYSTEM CATALOGS
5
6 This module is designed for being imported from python prompt
7
8 In order to run the samples included here, first create a connection
9 using : cnx = advanced.DB(...)
10
11 The "..." should be replaced with whatever arguments you need to open
an
12 existing database. Usually all you need is the name of the database
and,
13 in fact, if it is the same as your login name, you can leave it
empty.
14
15 then start the demo with: syscat.demo(cnx)
16
17 Some results may be empty, depending on your base status."

I find the same error in func

Bye

Stephane.

PS: PostgreSQL is great, thank you for your job !

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Rob Butler 2002-05-03 13:16:45 PQescapeString and PQescapeBytea not exported during win 32 build
Previous Message Tom Lane 2002-05-03 05:38:52 Re: Bug #656: timestamp function generates parsing errors when used as specified in the documentation