Re: More concurent transaction over single connection

From: Richard Huxton <dev(at)archonet(dot)com>
To: NTPT <ntpt(at)centrum(dot)cz>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: More concurent transaction over single connection
Date: 2005-03-07 09:26:05
Message-ID: 422C1E2D.5020407@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

NTPT wrote:
>
> 3: One process, multiple threads, all threads share the same one
> persitant connection. Because one thread serve one request in present
> time, but threads can run "concurently" (AFIAK ), I am affraid, that
> multiple transactions over the single connection in this scenario will
> result a complette mess. I am right ?

Yes - that's the definition of a connection really. Each connection
provides you with a set of configuration values and a context for
transactions.

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ladislav Linhart 2005-03-07 10:31:06 LIMIT and him usage
Previous Message Greg Stark 2005-03-07 07:57:01 Re: About Access paths