Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Re: interesting sequence

Поиск
Список
Период
Сортировка
От Jasen Betts
Тема Re: interesting sequence
Дата
Msg-id iv1kct$vb$1@reversiblemaps.ath.cx
обсуждение исходный текст
Ответ на interesting sequence  (John Fabiani <johnf@jfcomputer.com>)
Ответы Re: interesting sequence
Список pgsql-sql
On 2011-07-06, Kevin Crain <kevin.crain1@gmail.com> wrote:
> That's why you need to do this inside a function.  Basically just make
> an insert function for the table and have it calculate the count and
> do the insert in one transaction.

you will still get duplicates, so include code in the function to
retry if there is an error.

-- 
⚂⚃ 100% natural



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