timeout implementation issues

Поиск
Список
Период
Сортировка
От Nicolas Bazin
Тема timeout implementation issues
Дата
Msg-id 002101c1eb23$8d3db9e0$660d090a@software.ingenico.com.au
обсуждение исходный текст
Список pgsql-hackers
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.

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Curt Sampson
Дата:
Сообщение: Re: Index Scans become Seq Scans after VACUUM ANALYSE
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Inefficient handling of LO-restore + Patch