Обсуждение: implementation of SET LOCK MODE TO [WAIT [seconds] | NOT WAIT] for ecpq

Поиск
Список
Период
Сортировка

implementation of SET LOCK MODE TO [WAIT [seconds] | NOT WAIT] for ecpq

От
"Nicolas Bazin"
Дата:
I need to avoid my process to wait for too long. This syntax is not supported by the BE so I thought I would modify ECPGexecute to use asynchronous functions instead of PQexec. The problem is the NOT WAIT mode which needs some sort of info from the BE to know whether the statement has immediatly started to be executed or is in a queue waiting for its turn.
Any idea or comment on this feature?