Sample Program 2 - libpq

From: Ron Peterson <rpeterson(at)yellowbank(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Sample Program 2 - libpq
Date: 2000-06-02 19:36:17
Message-ID: 39380CB1.764B7CFD@yellowbank.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Two functions, 'sleep' & 'free', which are used in libpq Sample Program
2 in the Interfaces section of the documentation, are not defined. Have
they been replaced? Code comments make mention that waiting w/ select()
would be more efficient. I don't understand this, though. How should
the relevant while(1) loop be rewritten?

________________________
Ron Peterson
rpeterson(at)yellowbank(dot)com

Browse pgsql-general by date

  From Date Subject
Next Message Ron Peterson 2000-06-02 19:47:37 retract: Sample Program 2 - libpq
Previous Message Tom Lane 2000-06-02 17:09:16 Re: query optimiser changes 6.5->7.0