Looking for a multithreaded (pthread) libpq example

Started by Randall Skeltonabout 22 years ago1 messagesgeneral
Jump to latest
#1Randall Skelton
skelton@brutus.uwaterloo.ca

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