problem with copy command

Поиск
Список
Период
Сортировка
От Jaruwan Laongmal
Тема problem with copy command
Дата
Msg-id 001f01c0c196$46bcb000$6d9a96cb@ntl
обсуждение исходный текст
Список pgsql-sql
dear all,
I currently using postgresql v7.0.3
when i import text file to table with command "copy tablename from
'/tmp/a.txt';
and it shows
"copy: line 20, Cannot insert a duplicate key into unique index testpri_pk"
,then it exits with doing nothing.

I want to ignore this errors and continue copy the next record. How to do
that?
if I don't filter in '/tmp/a.txt' before using copy command.

Thank you so much for your help in advance .
Regards
Jaruwan



В списке pgsql-sql по дате отправления:

Предыдущее
От: "Stan van de Mortel"
Дата:
Сообщение: Foreign Key between different databases
Следующее
От: Cedar Cox
Дата:
Сообщение: Re: Foreign Key between different databases