Re: libpq and multi-threading

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: libpq and multi-threading
Дата
Msg-id f85acc2086665f4d095537169e68f3b5b3cbcff4.camel@cybertec.at
обсуждение исходный текст
Ответ на libpq and multi-threading  ("Michael J. Baars" <mjbaars1977.pgsql.hackers@gmail.com>)
Ответы Re: libpq and multi-threading
Список pgsql-general
On Tue, 2023-05-02 at 11:38 +0200, Michael J. Baars wrote:
> I have a question about libpq and multi-threading.
>
> In the PostgreSQL documentation (https://www.postgresql.org/docs/15/libpq-threading.html)
> it says that results can be passed around freely between threads. However, when I try to read
> the result from the parent thread, the program crashes with a segmentation fault.

That's too little information.

Yours,
Laurenz Albe



В списке pgsql-general по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: postgresql15-contrib installation on Amazon Linux 2 fails on Python shared lib dependency
Следующее
От: "Michael J. Baars"
Дата:
Сообщение: Re: libpq and multi-threading