Re: Connection pool

From: Vick Khera <vivek(at)khera(dot)org>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Connection pool
Date: 2010-11-23 14:16:19
Message-ID: AANLkTin4XoBsM3WDfn2H6VOdVEAAvbwO2uD-DmzmF+Uh@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Nov 23, 2010 at 4:42 AM, Mark Gabriel Paylaga
<mpaylaga(at)gmail(dot)com> wrote:
> When two requests are received at the same time, both of the requests  will
> use the same db connection resulting in an error:
> Started transaction<READ COMMITTED> while transaction<READ COMMITTED> still
> active
>
>

You have multiple threads sharing the same connection? You can't do that.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-11-23 15:14:21 Re: json data type
Previous Message Sam Mason 2010-11-23 12:34:58 Re: very basic SQL question