Re: Libpq and multithreading

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Libpq and multithreading
Дата
Msg-id CAHyXU0ymY6Jydnd2efqeDdUpQ0y5Kyk4T=9d-cs_gKXB+CXVvg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Libpq and multithreading  (Alban Hertroys <haramrae@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Alban Hertroys
Дата:
Сообщение: Re: Libpq and multithreading
Следующее
От: "Daniel Verite"
Дата:
Сообщение: Re: VALUES() evaluation order