Re: loop with circular updates

Поиск
Список
Период
Сортировка
От Kenneth Downs
Тема Re: loop with circular updates
Дата
Msg-id 44C7813F.8040803@secdat.com
обсуждение исходный текст
Ответ на loop with circular updates  (Jessica M Salmon <jmsalmon@fs.fed.us>)
Ответы Re: loop with circular updates
Список pgsql-general
Jessica M Salmon wrote:

>Hi All.
>
>I'm writing a plpgsql function that creates a table and loops over the
>items in that table, using a FOR ... IN EXECUTE ... loop. The thing is, on
>each iteration I update the table over which I am looping. Sometimes, the
>result of this update makes it no longer necessary/desirable to process
>subsequent records in the loop.
>
>
Can you tell us more about the app?  Sounds like an ERP allocation or
something like that.


Вложения

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

Предыдущее
От: xyzyx
Дата:
Сообщение: wrong timestamp
Следующее
От: Kenneth Downs
Дата:
Сообщение: Re: Constraint on an aggregate? (need help writing trigger,