How to change PQexec timeout?

From: Sergey Belikov <belikov(at)bnl(dot)gov>
To: pgsql-novice(at)postgresql(dot)org
Subject: How to change PQexec timeout?
Date: 2003-11-07 16:40:26
Message-ID: 3FABCAFA.3745BE99@bnl.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Dear postgreSQL experts,
could you explain me how can I dynamically change time-out value for
each PQexec() call? Or at least how can I set time-out for my current
program?
I found
void setQueryTimeout (int seconds)
in libodbc++ documentation, but nothing of this kind in libpq. Should I
install libodbc++ to manipulate time-out value, or there is something in
postgreSQL itself?
Thank you, Sergey.

--
Sergey V Belikov home phone: (631)924-0458
Bldg. 510C office phone: (631)344-5682
Upton, NY 11973 fax: (631)344-3253

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Louise Cofield 2003-11-07 21:14:48 Createdb Problems
Previous Message Lim Seng 2003-11-07 13:37:28 Updating views