Looking for a multithreaded (pthread) libpq example

From: Randall Skelton <skelton(at)brutus(dot)uwaterloo(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: Looking for a multithreaded (pthread) libpq example
Date: 2004-03-30 23:02:19
Message-ID: 4BE712DF-829E-11D8-A5A5-000393C92230@brutus.uwaterloo.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Browse pgsql-general by date

  From Date Subject
Next Message Pailloncy Jean-Gérard 2004-03-30 23:19:06 7.4.1 & invalid page header in block
Previous Message Christopher Browne 2004-03-30 22:53:02 Re: Best open source db poll currently