Re: DBI/DBD::Pg and transactions

Поиск
Список
Период
Сортировка
От Roderick A. Anderson
Тема Re: DBI/DBD::Pg and transactions
Дата
Msg-id 469E8E27.60806@acm.org
обсуждение исходный текст
Ответ на Re: DBI/DBD::Pg and transactions  (Alan Hodgson <ahodgson@simkin.ca>)
Ответы Re: DBI/DBD::Pg and transactions  (Björn Lundin <b.f.lundin@gmail.com>)
Список pgsql-general
Alan Hodgson wrote:
> On Wednesday 18 July 2007 14:29, "Roderick A. Anderson" <raanders@acm.org>
> wrote:
>> In the mean time if the script gets triggered again and the first
>> instance isn't finished the second needs to not be able to select those
>> records already being handled.
>
> select for update won't do that. It will sit waiting for locks on the same
> rows the first process is handling.

Let's see how do I put it ... Da[r|m]n!  But I now remember reading
something to this effect in one of my PG books or the on line docs.

Some other method is now in order.


Thanks to all for the thoughts and ideas.

I'll post my solution ... when I figure one out!


Rod
--


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

Предыдущее
От: "Pat Maddox"
Дата:
Сообщение: Re: Need help optimizing this query
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Feature request: Per database search_path