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