I also want to implement the same feature but for
ecpg. On INFORMIX there is the following syntax to control
timeouts:
SET LOCK MODE TO [WAIT [seconds] | NO
WAIT]
There is 2 possibilities:
- either the pre-processor implements execution of
the statement with the asynchronous functions. Then I have 2 issues, the polling
delay will slow down the transaction performance, and I don't have a way to
implement the NO WAIT for I would have to know if the statement is being
processed right away or is waiting for another transaction to
complete.
- the backend implements this syntax and returns an
error code for timeout.
|
- Re: [HACKERS] timeout implementation issues Bruce Momjian
- Re: [HACKERS] timeout implementation issues Tom Lane
- Re: [HACKERS] timeout implementation is... Bruce Momjian
- Re: [HACKERS] timeout implementatio... Robert Schrem
- Re: [HACKERS] timeout implementation issues Jessica Perry Hekman
- Re: [HACKERS] timeout implementation is... Barry Lind
- Re: [HACKERS] timeout implementatio... Peter Eisentraut
- Re: [HACKERS] timeout implement... Barry Lind
- Re: [HACKERS] timeout implement... Jessica Perry Hekman
- Re: [HACKERS] timeout implementation issues Zeugswetter Andreas SB SD
- Nicolas Bazin