regarding isolation between threads

Поиск
Список
Период
Сортировка
От Surabhi Ahuja
Тема regarding isolation between threads
Дата
Msg-id CE5C48E227F8ED4990FAC4332100ADC621B55C@EVS.iiitb.ac.in
обсуждение исходный текст
Ответы Re: regarding isolation between threads  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
This is in continuation of my previous mail:
each thread is using a different pgconn.
 
thanks again
Surabhi Ahuja
 
Dear All,
 
I am stuck in the following scenario:
In a dual processor machine, I am running 5 threads.
each of the threads is calling a particular stored procedure to insert a row in the table.
 
the insertion takes place in a transaction and i have set the transaction level to serializable.
 
However it seems that the insertion is not taking place properly because of the threads.
 
isnt the isolation mainiatined in case of threads?
what is it that I can possibly do to provide isolation amongst threads
 
Please tell, in case I should provide more info in regard to this scenario?
 
Thank You in advance
Regards
Surabhi Ahuja

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

Предыдущее
От: Howard Kao
Дата:
Сообщение: Re: about pg_dump with --blobs
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: about pg_dump with --blobs