Mistake in PostgreSQL Tutorial ?

From: "Denis Faivre" <dfaivre(at)ablivio(dot)com>
To: <pgsql-bugs(at)postgresql(dot)org>
Subject: Mistake in PostgreSQL Tutorial ?
Date: 1999-11-17 07:25:52
Message-ID: 000001bf318d$c5507f40$02085ca0@globops
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

File : tutorial\x1272.htm
The example for populating a class with instances using COPY does not work.

COPY INTO weather FROM '/home/user/weather.txt' USING DELIMITERS '|';

causes an error because of the keyword INTO.
I think that the right command should be :

COPY weather FROM '/home/user/weather.txt' USING DELIMITERS '|';

My .02 cents ;-)

-- Denis Faivre - dfaivre(at)ablivio(dot)com
-- Ablivio - http://www.ablivio.com

Browse pgsql-bugs by date

  From Date Subject
Next Message Joachim Breuer 1999-11-17 19:14:27 Table file *disappears* when error occurs
Previous Message Tom Lane 1999-11-17 05:00:00 Re: [BUGS] pg_sorttemp files eating my drive!