Re: handling duplicate row exception

Поиск
Список
Период
Сортировка
От Filip Rembiałkowski
Тема Re: handling duplicate row exception
Дата
Msg-id CAP_rwwnozAym2aYuWXYe_rHbSYY6FcJ7CqUzJ1-16Pu0kB1DYA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: handling duplicate row exception  (Amar Dhole <adhole@tibco.com>)
Список pgsql-sql
W dniu 22 września 2011 08:11 użytkownik Amar Dhole <adhole@tibco.com> napisał:

Hi Filip,

 

No not sure 100% when this can happen. This approach will not be possible as in our application we are programmatically handling these cases and going in other route to add the record with increased key.

 


I am almost sure this approach will be possible, for more details see:
 http://stackoverflow.com/questions/1109061/insert-on-duplicate-update-postgresql

 

I am using 9.0.4 version.

 

Thanks
Amar


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