Обсуждение: Mistake in PostgreSQL Tutorial ?

Поиск
Список
Период
Сортировка

Mistake in PostgreSQL Tutorial ?

От
"Denis Faivre"
Дата:
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@ablivio.com
-- Ablivio - http://www.ablivio.com