duplicate key violates unique constraint

Поиск
Список
Период
Сортировка
От Shavonne Marietta Wijesinghe
Тема duplicate key violates unique constraint
Дата
Msg-id 014401c87887$a8fed450$3102a8c0@dream
обсуждение исходный текст
Ответы Re: duplicate key violates unique constraint  (Teemu Torma <teemu@torma.org>)
Список pgsql-sql
Hello
 
During an "INSERT INTO" I get an "Error - duplicate key violates unique constraint...."
 
Is there any way, that i can test the error. Something like this??
 
IF error = "duplicate key violates unique constraint" then
    do something
else
    insert into
end if
 
 
Thanks
 
Shavonne

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

Предыдущее
От: TJ O'Donnell
Дата:
Сообщение: Re: Deploying PostgreSQL on virtualized hardware
Следующее
От: Teemu Torma
Дата:
Сообщение: Re: duplicate key violates unique constraint