Re: OT: Question about transactions

Поиск
Список
Период
Сортировка
От Paul Tomblin
Тема Re: OT: Question about transactions
Дата
Msg-id 48A1FF78.6020002@gmail.com
обсуждение исходный текст
Ответ на Re: OT: Question about transactions  (Andrew Sullivan <ajs@commandprompt.com>)
Список pgsql-jdbc
Andrew Sullivan wrote:
> On Tue, Aug 12, 2008 at 04:09:48PM -0400, Paul Tomblin wrote:
>> they go to process the second message?  Could they do a "BEGIN
>> TRANSACTION" at the start and "END TRANSACTION" when they're done
>> processing, even though the processing only does queries and not
>> updates?
>
> Try SERIALIZABLE mode.  If I understand you correctly, it will do what
> you need.

That seems like it might work.  Thanks.

--
Paul Tomblin <ptomblin@xcski.com> http://blog.xcski.com/
Conspiracies abound:  If everyone's against you, the reason can't
_possibly_ be that you're a fuckhead.
               -- The Usenet Guide to Power Posting

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

Предыдущее
От: Andrew Sullivan
Дата:
Сообщение: Re: OT: Question about transactions
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: PreparedStatement timeouts?