Re: libpq and multi-threading - Mailing list pgsql-general

From Laurenz Albe
Subject Re: libpq and multi-threading
Date
Msg-id f85acc2086665f4d095537169e68f3b5b3cbcff4.camel@cybertec.at
Whole thread Raw
In response to libpq and multi-threading  ("Michael J. Baars" <mjbaars1977.pgsql.hackers@gmail.com>)
Responses Re: libpq and multi-threading  ("Michael J. Baars" <mjbaars1977.pgsql.hackers@gmail.com>)
List 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 by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: postgresql15-contrib installation on Amazon Linux 2 fails on Python shared lib dependency
Next
From: "Michael J. Baars"
Date:
Subject: Re: libpq and multi-threading