Re: regarding isolation amongst threads

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Surabhi Ahuja <surabhi(dot)ahuja(at)iiitb(dot)ac(dot)in>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: regarding isolation amongst threads
Date: 2005-08-16 12:04:15
Message-ID: 20050816120415.GC9432@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Aug 16, 2005 at 04:06:57PM +0530, Surabhi Ahuja wrote:
> Dear All,
>
> it seems to me that ...isolation is guaranteed only if we are considering different connections in different processes.
>
> if we have multiple threads ...each using diff connection (but same process) ..isolation is not happening.
> when context switch between threads happens ..everythings goes for a toss.

This does work though, so there must be a misunderstanding somewhere.
However, it's not clear what you mean by "isolation". It is crashing or
something else?

Please also specify version and platform.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Surabhi Ahuja 2005-08-16 12:16:04 regarding isolation amongst threads
Previous Message Andrew Piskorski 2005-08-16 11:45:35 Re: Testing of MVCC