Re: Simple SQL INSERT to avoid duplication failed: why?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Simple SQL INSERT to avoid duplication failed: why?
Дата
Msg-id 22217.1366923989@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Simple SQL INSERT to avoid duplication failed: why?  ("Carlo Stonebanks" <stonec.register@sympatico.ca>)
Ответы Re: Simple SQL INSERT to avoid duplication failed: why?
Список pgsql-general
"Carlo Stonebanks" <stonec.register@sympatico.ca> writes:
> Ok, I tried to be clever and I wrote code to avoid inserting duplicate data.
> The calling function has a try-catch to recover from this, but I am curious
> as to why it failed:

There's nothing obviously wrong with that, which means the issue is in
something you didn't show us.  Care to assemble a self-contained
example?

            regards, tom lane


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

Предыдущее
От: "Carlo Stonebanks"
Дата:
Сообщение: Simple SQL INSERT to avoid duplication failed: why?
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: is there a way to deliver an array over column from a query window?