Re: error handling

Поиск
Список
Период
Сортировка
От Verena Ruff
Тема Re: error handling
Дата
Msg-id 4462FC2B.2010601@triosolutions.at
обсуждение исходный текст
Ответ на Re: error handling  (Sean Davis <sdavis2@mail.nih.gov>)
Список pgsql-novice
Hi,

Sean Davis schrieb:
> No problem.  I was thinking that you had a bunch of data that you
> wanted to load ONCE, clean up, and then you would NOT  be inserting
> duplicated values.  If you are going to be inserting duplicates
> potentially with every insert, I think that a trigger is the only way
> to go on the DB side of things.  Of course, you could do things on the
> client side, as well (do a lookup, find nothing--do insert, find
> something--do nothing or do update).

Thanks for your opinion. Then I'll go with a trigger.

Regards,
Verena

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Vacuuming static tables.
Следующее
От:
Дата:
Сообщение: Dev DB Structure Updates