From: | Rosario Peluso <Rosario(dot)Peluso(at)pd(dot)infn(dot)it> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Command execution goes stuck... |
Date: | 2002-07-17 20:39:45 |
Message-ID: | 200207172041.WAA0000013332@ospd00.pd.infn.it |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi all...
I'm experiencing a starnge problem using postgres 7.1.3 under RedHat
linux 6.2: I'm accessing to a database table using the C++ interface
(the libpq++) and sometimes happen that, when the machine is somehow
loaded, the methods PgDatabase::ExecuteCommand or
PgDatabase::ExecuteTuples go stuck inside an internal select() call...
I've discovered this by debugging the running process of my
program, and the back trace of the process (unfortunately I haven't a
complete one now) says that the call is stuck inside a __select()
function deep enveloped inside the library... It is sufficient to
exit from the debugger to let the program start again without any
error...
Someone knows about this strange behaviour ??? Is there something
I can do to avoid such stucks ??? There seems to be no way, for
example, to set a timeout on that select call, AFAIK: probably it is
not intended to be reached from the C++ APIs...
Help me, I'm stuck
Rosario
--
| Almeno tu che puoi fuggi via canto
\|/ ____ \|/ \ ||_| | nomade questa cella e` piena della
"@'/ ,. \`@" \|| | | mia disperazione tu che puoi non
/_| \__/ |_\ Vax Headroom | farti prendere.
\__U_/ | BMS
From | Date | Subject | |
---|---|---|---|
Next Message | Brendan LeFebvre | 2002-07-17 21:52:51 | Stubborn lock(?) with psqlODBC+MSAccess |
Previous Message | Jeffrey Hood | 2002-07-17 20:31:29 | Query Performance... |