Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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


pgsql-general by date

Next:From: Pailloncy Jean-GĂ©rardDate: 2004-03-30 23:19:06
Subject: 7.4.1 & invalid page header in block
Previous:From: Christopher BrowneDate: 2004-03-30 22:53:02
Subject: Re: Best open source db poll currently

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group