Обсуждение: Looking for a multithreaded (pthread) libpq example

Поиск
Список
Период
Сортировка

Looking for a multithreaded (pthread) libpq example

От
Randall Skelton
Дата:
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