Re: Libpq and multithreading - Mailing list pgsql-general

From Merlin Moncure
Subject Re: Libpq and multithreading
Date
Msg-id CAHyXU0ymY6Jydnd2efqeDdUpQ0y5Kyk4T=9d-cs_gKXB+CXVvg@mail.gmail.com
Whole thread Raw
In response to Re: Libpq and multithreading  (Alban Hertroys <haramrae@gmail.com>)
List pgsql-general
On Mon, Jan 14, 2013 at 8:28 AM, Alban Hertroys <haramrae@gmail.com> wrote:
> An access violation means that you're trying to access memory that doesn't
> belong to your process. I'm not sure where it's originating, that could be
> the server but I suspect the issue is at the client-side.
>
> You're probably just forgetting to free memory somewhere.

Or freeing the connection and then another thread attempts to use it.
This might even "work" a couple of times without crashing.

merlin


pgsql-general by date:

Previous
From: Alban Hertroys
Date:
Subject: Re: Libpq and multithreading
Next
From: "Daniel Verite"
Date:
Subject: Re: VALUES() evaluation order