Thread: Looking for a multithreaded (pthread) libpq example

Looking for a multithreaded (pthread) libpq example

From
Randall Skelton
Date:
Does anyone have a simple example showing how to perform non-blocking
queries using libpq that they can post?  Thus far I can initiate a
non-blocking connection, and use PQsendQuery but I am having a hard
time figuring out when and how to consume the results.

Cheers,
Randall