Re: using database for queuing operations?

Поиск
Список
Период
Сортировка
От Mark Harrison
Тема Re: using database for queuing operations?
Дата
Msg-id 414F3C55.7020007@pixar.com
обсуждение исходный текст
Ответ на Re: using database for queuing operations?  (Jeff Amiel <jamiel@istreamimaging.com>)
Ответы Re: using database for queuing operations?  (Jeff Amiel <jamiel@istreamimaging.com>)
Список pgsql-general
Jeff Amiel wrote:
> Add a column to the nameq table designating the 'state' of the image.
> Then your logic changes to "select * from nameq where serial = (select
> min(serial) from nameq) and state="UNPROCESSED" (or whatever)
> So you select for update, change the state, then process the
> image....then delete.

Thanks Jeff, I think that will work perfectly for me!

Cheers,
Mark

--
Mark Harrison
Pixar Animation Studios

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

Предыдущее
От: Jeff Amiel
Дата:
Сообщение: Re: using database for queuing operations?
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: using database for queuing operations?